Function sleep
Create a coroutine that completes after a given time. If result
is provided, it is produced to the caller when the coroutine completes.
The resolution of the sleep
depends on the granularity of the event loop.
Prototype
auto sleep(Result...)(
EventLoop eventLoop,
Duration delay,
Result result
)
if (result .length <= 1);
Authors
Dragos Carp
Copyright
© 2015-2016 Dragos Carp
License
Boost Software License - Version 1.0