10 references to InvokeAsync
Microsoft.JSInterop (10)
Implementation\JSObjectReference.cs (4)
49return _jsRuntime.InvokeAsync<TValue>(Id, identifier, JSCallType.FunctionCall, cancellationToken, args); 65return _jsRuntime.InvokeAsync<IJSObjectReference>(Id, identifier, JSCallType.ConstructorCall, cancellationToken, args); 81return _jsRuntime.InvokeAsync<TValue>(Id, identifier, JSCallType.GetValue, cancellationToken, null); 97await _jsRuntime.InvokeAsync<TValue>(Id, identifier, JSCallType.SetValue, cancellationToken, [value]);
JSRuntime.cs (6)
85=> InvokeAsync<TValue>(WindowObjectId, identifier, JSCallType.FunctionCall, cancellationToken, args); 93=> InvokeAsync<IJSObjectReference>(WindowObjectId, identifier, JSCallType.ConstructorCall, 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);