Represents the abstract base interface other Signal interfacees are derived from. Allows all signals to be waited on.
Semaphore
CountdownSignal
AutoResetSignal
ManualResetSignal
Queues the caller until the signal is placed into a signaled state.
const signals = [ signals.manualReset(), signals.autoReset(), signals.semaphore(), signals.countdown(),];await Promise.all(signals.map(signal => signal.ready()));
A Promise that will be resolved when the signal is placed into a signaled state.
Represents the abstract base interface other Signal interfacees are derived from. Allows all signals to be waited on.
Semaphore
CountdownSignal
AutoResetSignal
ManualResetSignal