ComponentHostAsyncCallback Delegate

The steps of an asynchronous function of the host. The continuations of the task run on the thread that runs the components (between their calls), so they can use the values of the call, such as the streams.

public delegate ValueTask<ComponentValue?> ComponentHostAsyncCallback(ComponentCallContext context, ComponentValue[] arguments)

Parameters

context ComponentCallContext
The call: the type of the function, the store, and the cancellation of the call.
arguments ComponentValue[]
The arguments: one per parameter of the type of the function.