composable-locks
Version:
Composable concurrency locks for Javascript.
8 lines (7 loc) • 306 B
TypeScript
export { Mutex } from "./mutex";
export { KeyedMutex } from "./keyed";
export { ReentrantMutex } from "./reentrant";
export { RWMutex } from "./readwrite";
export type { RWLockType } from "./readwrite";
export { withPermissions } from "./utils";
export type { ILock, Releaser } from "./interfaces";