PoolingAsyncValueTaskMethodBuilder<TResult>.Start<TStateMachine> Method

Definition

Begins running the builder with the associated state machine.

public void Start<TStateMachine> (ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine;

Type Parameters

TStateMachine

The type of the state machine.

Parameters

stateMachine
TStateMachine

The state machine instance, passed by reference.

Applies to

Product Versions
.NET 6, 7, 8, 9