Queues the caller until the signal is placed into a signaled state.
A Promise that will be resolved when the signal is placed into a signaled state.
Places the signal into a blocked (unsignaled) state. This begins queueing any future callers.
Places the signal into a signaled state. This invokes any queued callers in the order they were queued and allows future callers to proceed immediately.
Queues all callers until signaled. Once signaled, all callers proceed in the order they were queued. Future callers will proceed immediately while this object remains in a signaled state.
Think of the manual reset signal as a traffic light. While it is red, all cars are queued in the order they arrive. Once the light is signaled green, the cars can proceed in the order they arrived. And as long as the light remains green, any future cars can proceed.