Share via


Renderer.AddPendingTask(ComponentState, Task) Method

Definition

Notifies the renderer that there is a pending task associated with a component. The renderer is regarded as quiescent when all such tasks have completed.

protected virtual void AddPendingTask (Microsoft.AspNetCore.Components.Rendering.ComponentState? componentState, System.Threading.Tasks.Task task);
abstract member AddPendingTask : Microsoft.AspNetCore.Components.Rendering.ComponentState * System.Threading.Tasks.Task -> unit
override this.AddPendingTask : Microsoft.AspNetCore.Components.Rendering.ComponentState * System.Threading.Tasks.Task -> unit
Protected Overridable Sub AddPendingTask (componentState As ComponentState, task As Task)

Parameters

componentState
ComponentState

The ComponentState for the component associated with this pending task, if any.

task
Task

The Task.

Applies to