UNPKG

redis-semaphore

Version:

Distributed mutex and semaphore based on Redis

9 lines (8 loc) 285 B
import LostLockError from './errors/LostLockError'; export declare const defaultTimeoutOptions: { lockTimeout: number; acquireTimeout: number; acquireAttemptsLimit: number; retryInterval: number; }; export declare function defaultOnLockLost(err: LostLockError): never;