Open GavrilovNI opened 1 month ago
You can use CancellationTokens and check for Token.IsCancellationRequested, or if you want to be super safe you can also wrap it in a try() and catch OperationCanceledException, or even dispose the token and catch ObjectDisposedException.
Still these options would be nice to have in GameTask rather than Task.
What it is?
the following code
will not ne able to compile:
Why do you need to use this?
I need it to do more complicated things with Tasks
P.S. Couldn't reopen the issue, but here is the old one #4806 No, it doesn't look whitelisted, sorry garry