Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
enum System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags
Assembly: System.Runtime
Provides flags passed from <see cref="T:System.Threading.Tasks.ValueTask" /> and <see cref="T:System.Threading.Tasks.ValueTask`1" /> to the <see langword="OnCompleted" /> method to control the behavior of a continuation.
Values
None
No requirements are placed on how the continuation is invoked.
UseSchedulingContext
<see langword="OnCompleted" /> should capture the current scheduling context (the <see cref="T:System.Threading.SynchronizationContext" /> )
and use it when queueing the continuation for execution. If this flag is not set, the implementation
may choose to execute the continuation in an arbitrary location.
FlowExecutionContext
<see langword="OnCompleted" /> should capture the current <see cref="T:System.Threading.ExecutionContext" /> and use it to run the continuation.