UNPKG

redis-semaphore

Version:

Distributed mutex and semaphore based on Redis

8 lines (7 loc) 255 B
import LostLockError from '../src/errors/LostLockError'; export declare const defaultTimeoutOptions: { lockTimeout: number; acquireTimeout: number; retryInterval: number; }; export declare function defaultOnLockLost(err: LostLockError): void;