We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0ebd5f0 + aedd646 commit 5ba7c70Copy full SHA for 5ba7c70
src/JSInterop/Microsoft.JSInterop/src/JSRuntime.cs
@@ -110,7 +110,7 @@ internal ValueTask<TValue> InvokeAsync<TValue>(
110
object?[]? args)
111
{
112
var taskId = Interlocked.Increment(ref _nextPendingTaskId);
113
- var tcs = new TaskCompletionSource<TValue>(TaskContinuationOptions.RunContinuationsAsynchronously);
+ var tcs = new TaskCompletionSource<TValue>();
114
if (cancellationToken != default)
115
116
_cancellationRegistrations[taskId] = cancellationToken.Register(() =>
0 commit comments