Function EventLoop.createTask
Schedule the execution of a fiber object: wrap it in a future.
Third-party event loops can use their own subclass of Task for interoperability. In this case, the result type is a subclass of Task.
Prototype
final auto createTask(Coroutine, Args...)(
Coroutine coroutine,
Args args
)
if (isDelegate!Coroutine);
Returns
a Task object.
See Also
task().
Authors
Dragos Carp
Copyright
© 2015-2016 Dragos Carp
License
Boost Software License - Version 1.0