redis-smq-common
Version:
Provides essential components and utilities shared across RedisSMQ packages.
26 lines • 1.46 kB
TypeScript
import { exec } from './exec.js';
import { map } from './map.js';
import { series } from './series.js';
import { waterfall } from './waterfall.js';
import { parallel } from './parallel.js';
import { withCallbackList } from './with-callback-list.js';
import { withCallback } from './with-callback.js';
import { withRetry } from './with-retry.js';
import { withTimeout } from './with-timeout.js';
import { withOptionalCallback } from './with-optional-callback.js';
export declare const async: {
each: <T>(collection: T[] | Record<string, T>, iteratee: (item: T, key: number | string, callback: import("./index.js").ICallback<void>) => void, callback: import("./index.js").ICallback<void>) => void;
eachIn: <T>(collection: Record<string, T>, iteratee: (item: T, key: string, callback: import("./index.js").ICallback<void>) => void, callback: import("./index.js").ICallback<void>) => void;
eachOf: <T>(collection: T[], iteratee: (item: T, key: number, callback: import("./index.js").ICallback<void>) => void, callback: import("./index.js").ICallback<void>) => void;
exec: typeof exec;
map: typeof map;
parallel: typeof parallel;
series: typeof series;
waterfall: typeof waterfall;
withCallback: typeof withCallback;
withCallbackList: typeof withCallbackList;
withRetry: typeof withRetry;
withTimeout: typeof withTimeout;
withOptionalCallback: typeof withOptionalCallback;
};
//# sourceMappingURL=async.d.ts.map