Skip to content

Interface: SimpleLock()

Defined in: primitives/lock.ts:13

An interface for a function that creates a simple asynchronous lock.

SimpleLock(): Promise<ReleaseFn>

Defined in: primitives/lock.ts:13

An interface for a function that creates a simple asynchronous lock.

Returns

Promise<ReleaseFn>

Released under the MIT License.