Skip to content

Class: Mutex

utilities/object.Mutex

Constructors

constructor

new Mutex(limit?): Mutex

Parameters

NameTypeDefault value
limitnumber1

Returns

Mutex

Defined in

src/utilities/object.ts:185

Accessors

available

get available(): boolean

Returns

boolean

Defined in

src/utilities/object.ts:193

Methods

wait

wait(): Promise<() => void>

Returns

Promise<() => void>

Defined in

src/utilities/object.ts:206