mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-07-31 13:05:12 +00:00
run all continuations asyncronously
This commit is contained in:
@@ -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) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user