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.
struct System.​Threading.​Tasks.​Sources.​IValueTaskSource
Assembly: System.Runtime
Represents an object that can be wrapped by a <see cref="T:System.Threading.Tasks.ValueTask" /> .
Methods
public
void
GetResult​(short token)
token
An opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask" /> constructor.
Gets the result of the <see cref="T:System.Threading.Tasks.Sources.IValueTaskSource" /> .
public
ValueTaskSourceStatus
GetStatus​(short token)
token
Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask" /> 's constructor.
Returns The status of the current operation.
Gets the status of the current operation.
public
void
OnCompleted​(Action`1 continuation,
object state,
short token,
ValueTaskSourceOnCompletedFlags flags)