Initializes the base WaitHandle.
The initial signal state of the object.
Notifies a given number of awaiting coroutines that are waiting on the current wait handle.
The number of awaiting coroutines to notify.
The number of awaiting coroutines that were notified.
Waits for the current {@link @aitHandle} to receive a signal.
An optional AbortSignal
that will abort the current wait operation.
A Promise
that resolves when the current WaitHandle receives a signal.
Generated using TypeDoc
An object that waits for exclusive access to another object.