colyseus-unity-sdk icon indicating copy to clipboard operation
colyseus-unity-sdk copied to clipboard

Add support to cancel all async calls

Open rthery opened this issue 5 years ago • 1 comments

Although WebSocket.cs supports it, it's not used at the moment.

Every async call made to Client.cs should be cancelable with the use of a CancellationTokenSource to better support error handling and improve player experience.

rthery avatar Apr 06 '21 16:04 rthery

Thanks for the suggestion @rthery, I think that'd be valuable indeed!

endel avatar Apr 07 '21 14:04 endel