sleep

Create a coroutine that completes after a given time. If $(D_PSYMBOL 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.

sleep
(
Result...
)
(,
Duration delay
,
Result result
)
if (
result.length <= 1
)

Meta