Async/await implementation of a ManualResetEvent.
More...
|
| Task | WaitAsync () |
| | Get awaitable task for the event.
|
| void | SetCancellationToken (CancellationToken ct) |
| | Sets the cancellation token for the event.
|
| void | Set () |
| | Set the event, unblocking any code awaiting the event.
|
| void | Reset () |
| | Reset the event, preparing it for reuse.
|
Async/await implementation of a ManualResetEvent.
◆ Reset()
| void Csla.Threading.AsyncManualResetEvent.Reset |
( |
| ) |
|
|
inline |
Reset the event, preparing it for reuse.
◆ Set()
| void Csla.Threading.AsyncManualResetEvent.Set |
( |
| ) |
|
|
inline |
Set the event, unblocking any code awaiting the event.
◆ SetCancellationToken()
| void Csla.Threading.AsyncManualResetEvent.SetCancellationToken |
( |
CancellationToken | ct | ) |
|
|
inline |
Sets the cancellation token for the event.
- Parameters
-
| ct | The cancellation token to set. |
◆ WaitAsync()
| Task Csla.Threading.AsyncManualResetEvent.WaitAsync |
( |
| ) |
|
|
inline |
Get awaitable task for the event.
The documentation for this class was generated from the following file: