Interface
AsyncStateMachine
interface AsyncStateMachine
Module: System.Runtime.CompilerServices
Assembly: System.Runtime.dll
Source file: Tasks.rvn
Temporary compiler-generated async state contract.
Remarks
May be replaced or removed when runtime-owned suspension is implemented. Application code should use Task and await.
Methods
2 items
MoveNext() -> ()
Resumes the retained state until completion or its next pending await.
Defined by AsyncStateMachine.MoveNext · Required implementation (no default).
SetStateMachine(stateMachine: AsyncStateMachine) -> ()
Associates a heap-owned state with its shared builder.
Defined by AsyncStateMachine.SetStateMachine · Required implementation (no default).