Add workaround for web-socket communication

This commit is contained in:
Gregor Biswanger
2023-03-24 14:15:55 +01:00
parent a82e714ef8
commit a244382383

View File

@@ -77,7 +77,7 @@ internal class SocketIoFacade
_socket.On(eventName, (socketIoResponse) =>
{
_socket.Off(eventName);
action(socketIoResponse.GetValue<T>());
Task.Run(() => action(socketIoResponse.GetValue<T>()));
});
}