I want roughly the following:
await Wait.ForFrames(2);
foo();
await Wait.ForSeconds(1.3f);
This feature would use a TaskCompletionSource and the Coroutines system under the hood to provide non-blocking waiting in a linear way using the CLRs async continuations.
I want roughly the following:
This feature would use a
TaskCompletionSourceand the Coroutines system under the hood to provide non-blocking waiting in a linear way using the CLRs async continuations.