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.
interface System.​Runtime.​CompilerServices.​IAsyncStateMachine
Assembly: System.Runtime
Represents state machines that are generated for asynchronous methods. This type is intended for compiler use only.
Methods
void
MoveNext​()
Moves the state machine to its next state.
void
SetStateMachine​(IAsyncStateMachine stateMachine)
Configures the state machine with a heap-allocated replica.
stateMachine
The heap-allocated replica.