run all continuations asyncronously

This commit is contained in:
rafael-aero
2021-08-17 16:28:07 +02:00
parent d6b29f7350
commit 8063f49e4b
19 changed files with 131 additions and 131 deletions

View File

@@ -122,7 +122,7 @@ namespace ElectronNET.API
/// <returns></returns>
public Task<bool> IsSupportedAsync()
{
var taskCompletionSource = new TaskCompletionSource<bool>();
var taskCompletionSource = new TaskCompletionSource<bool>(TaskCreationOptions.RunContinuationsAsynchronously);
BridgeConnector.On<bool>("notificationIsSupportedComplete", (isSupported) =>
{