sleepAsync
void sleepAsync(nuint timeoutMs, escaped once void() complete)Completes after approximately the requested duration.
Remarks
The completion callback is invoked by a platform timer thread after the delay. A caller that needs to resume on a specific thread should use an async resumer that marshals continuations to that thread.
Parameters
nuint
timeoutMs
The number of milliseconds to wait. A value of 0 completes immediately.
escaped once void()
complete
The callback to invoke when the delay elapses.
Generated with campc v0.6.0-preview.1+4dde68eca4014e9b19e7d7ad0fdae6b2036be640.