UNPKG

redis-semaphore

Version:

Distributed mutex and semaphore based on Redis

3 lines (2 loc) 134 B
import Redis from 'ioredis'; export declare function releaseSemaphore(client: Redis, key: string, identifier: string): Promise<void>;