UNPKG

redis-smq-common

Version:

RedisSMQ Common Library provides many components that are mainly used by RedisSMQ and RedisSMQ Monitor.

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