Struct TaskSchedulerAwaitable
Represents an awaitable object that switches the asynchronous method to the specified task scheduler.
Inherited Members
Namespace: DotNext.Runtime.CompilerServices
Assembly: DotNext.Threading.dll
Syntax
public readonly struct TaskSchedulerAwaitable
Methods
View SourceGetAwaiter()
Gets the awaiter of this object.
Declaration
public TaskSchedulerAwaitable.Awaiter GetAwaiter()
Returns
| Type | Description |
|---|---|
| TaskSchedulerAwaitable.Awaiter | The awaiter of this object. |