Nito.AsyncEx.AsyncAutoResetEvent
An async-compatible auto-reset event.
Gets a semi-unique identifier for this asynchronous auto-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 auto-reset event.
Creates an async-compatible auto-reset event.
public AsyncAutoResetEvent()
Creates an async-compatible auto-reset event that is initially unset.
Sets the event, atomically completing a task returned by WaitAsync. If the event is already set, this method does nothing.
Synchronously waits for this event to be set. If the event is set, this method will auto-reset it and return immediately, even if the cancellation token is already signalled. If the wait is canceled, then it will not auto-reset this event. This method may block the calling thread.
Synchronously waits for this event to be set. If the event is set, this method will auto-reset it and return immediately. This method may block the calling thread.
Asynchronously waits for this event to be set. If the event is set, this method will auto-reset it and return immediately, even if the cancellation token is already signalled. If the wait is canceled, then it will not auto-reset this event.
Asynchronously waits for this event to be set. If the event is set, this method will auto-reset it and return immediately.