Share via


JsonRpc.DispatchCompletion Property

Definition

Gets a Task that completes when no local target methods are executing from an RPC call.

public System.Threading.Tasks.Task DispatchCompletion { get; }
member this.DispatchCompletion : System.Threading.Tasks.Task
Public ReadOnly Property DispatchCompletion As Task

Property Value

Remarks

If the JSON-RPC connection is still active when retrieving this property's value, the returned Task will complete when no local dispatches are in progress, even if the connection is still active. Retrieving the property after a previously obtained Task has completed will result in a new, incomplete Task if incoming requests are currently in dispatch.

Applies to