System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter class

YieldAwaiter class

The awaiter type for YieldAwaitable.

class YieldAwaiter

Methods

MethodDescription
get_IsCompleted() constGets whether the yield operation has completed.
GetResult() constEnds the await operation.
OnCompleted(const Action<>&)Schedules the continuation action for when the yield operation completes.

Fields

FieldDescription
static constexpr continueOnCapturedContextSpecifies whether to continue on the captured synchronization context.

See Also