UNPKG

redis-semaphore

Version:

Distributed mutex and semaphore based on Redis

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