redis-smq-common
Version:
Provides essential components and utilities shared across RedisSMQ packages.
5 lines • 536 B
TypeScript
import { ICallback } from '../async/index.js';
import { IRedisClient } from './types/index.js';
import { IWatchTransactionAttemptResult, IWatchTransactionOptions } from './types/index.js';
export declare function withWatchTransaction(client: IRedisClient, attemptFn: (client: IRedisClient, watch: (keys: string | string[], cb: ICallback<void>) => void, cb: ICallback<IWatchTransactionAttemptResult>) => void, callback: ICallback<unknown[]>, options?: IWatchTransactionOptions): void;
//# sourceMappingURL=with-watch-transaction.d.ts.map