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.
1 parent a82e714 commit a244382Copy full SHA for a244382
ElectronNET.API/SocketIOFacade.cs
@@ -77,7 +77,7 @@ public void Once<T>(string eventName, Action<T> action)
77
_socket.On(eventName, (socketIoResponse) =>
78
{
79
_socket.Off(eventName);
80
- action(socketIoResponse.GetValue<T>());
+ Task.Run(() => action(socketIoResponse.GetValue<T>()));
81
});
82
}
83
0 commit comments