Skip to main content

@mr/retry@0.0.3
Built and signed on GitHub Actions

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 weeks ago (0.0.3)
type alias Config

The configuration object for the retry functions.

Properties

optional
attempts: number

The nuymber of times the function should be retried.

optional
delay: number

The base delay in milliseconds between each retry.

Add Package

deno add jsr:@mr/retry

Import symbol

import { type Config } from "@mr/retry";

---- OR ----

Import directly with a jsr specifier

import { type Config } from "jsr:@mr/retry";

Add Package

npx jsr add @mr/retry

Import symbol

import { type Config } from "@mr/retry";

Add Package

yarn dlx jsr add @mr/retry

Import symbol

import { type Config } from "@mr/retry";

Add Package

pnpm dlx jsr add @mr/retry

Import symbol

import { type Config } from "@mr/retry";

Add Package

bunx jsr add @mr/retry

Import symbol

import { type Config } from "@mr/retry";