Installation
npm install --save @types/mutexify
Summary
This package contains type definitions for mutexify (https://github.com/mafintosh/mutexify).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mutexify.
index.d.ts
interface Lock {
(fn: Release): number;
locked: boolean;
}
type Release = (
cb: (err?: any, value?: any) => any,
err: any,
value: any,
) => void;
declare function mutexify(): Lock;
export = mutexify;
export as namespace mutexify;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Gustav Bylund.