UNPKG

@apiratorjs/locking-redis

Version:

An extension to the core @apiratorjs/locking library, providing Redis-based implementations of distributed mutexes and semaphores for true cross-process concurrency control in Node.js.

6 lines 230 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.sleep = void 0; const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); exports.sleep = sleep; //# sourceMappingURL=utils.js.map