UNPKG

redis-smq-common

Version:

Provides essential components and utilities shared across RedisSMQ packages.

7 lines 316 B
import { ICallback } from './types/callback.js'; export declare function withRetry<T>(operation: (cb: ICallback<T>) => void, options: { maxAttempts?: number; retryDelay?: number; shouldRetry?: (err: Error) => boolean; } | undefined, callback: ICallback<T>): void; //# sourceMappingURL=with-retry.d.ts.map