8 references to InvokeAsync
Microsoft.JSInterop (8)
Implementation\JSObjectReference.cs (2)
49return _jsRuntime.InvokeAsync<TValue>(Id, identifier, JSCallType.FunctionCall, cancellationToken, args); 65return _jsRuntime.InvokeAsync<IJSObjectReference>(Id, identifier, JSCallType.NewCall, cancellationToken, args);
JSRuntime.cs (6)
85=> InvokeAsync<TValue>(WindowObjectId, identifier, JSCallType.FunctionCall, cancellationToken, args); 93=> InvokeAsync<IJSObjectReference>(WindowObjectId, identifier, JSCallType.NewCall, cancellationToken, args); 101=> InvokeAsync<TValue>(WindowObjectId, identifier, JSCallType.GetValue, cancellationToken, null); 109=> await InvokeAsync<IJSVoidResult>(WindowObjectId, identifier, JSCallType.SetValue, cancellationToken, [value]); 117return await InvokeAsync<TValue>(targetInstanceId, identifier, callType, cts.Token, args); 120return await InvokeAsync<TValue>(targetInstanceId, identifier, callType, CancellationToken.None, args);