Nito.AsyncEx.AsyncManualResetEvent
An async-compatible manual-reset event.
Gets a semi-unique identifier for this asynchronous manual-reset event.
Whether this event is currently set. This member is seldom used; code using this member has a high possibility of race conditions.
Creates an async-compatible manual-reset event.
public AsyncManualResetEvent()
Creates an async-compatible manual-reset event that is initially unset.
Resets the event. If the event is already reset, this method does nothing.
Sets the event, atomically completing every task returned by WaitAsync. If the event is already set, this method does nothing.
Synchronously waits for this event to be set. This method may block the calling thread.
Synchronously waits for this event to be set. This method may block the calling thread.
Asynchronously waits for this event to be set.
Asynchronously waits for this event to be set or for the wait to be canceled.