UNPKG

@apiratorjs/locking

Version:

A lightweight library providing both local and distributed locking primitives (mutexes and semaphores) for managing concurrency in Node.js.

8 lines 470 B
import { Semaphore } from "./semaphore"; import { Mutex } from "./mutex"; import * as types from "./types"; import { DistributedSemaphore } from "./distributed-semaphore"; import { DistributedMutex } from "./distributed-mutex"; import { InMemoryDistributedRegistry } from "./in-memory-distributed/in-memory-distributed-registry"; export { Semaphore, Mutex, types, DistributedSemaphore, DistributedMutex, InMemoryDistributedRegistry }; //# sourceMappingURL=index.d.ts.map