UNPKG

redis-semaphore

Version:

Distributed mutex and semaphore based on Redis

3 lines (2 loc) 140 B
import Redis from 'ioredis'; export declare function releaseRedlockMutex(clients: Redis[], key: string, identifier: string): Promise<void>;