ensureFuture

Schedule the execution of a coroutine: wrap it in a future. Return a $(D_PSYMBOL Task) object.

If the argument is a $(D_PSYMBOL Future), it is returned directly.

ensureFuture
(
Coroutine
Args...
)

Meta