vibe.d beta banner
get vibe.d
0.7.30

Function runTask

Runs a new asynchronous task.

task will be called synchronously from within the vibeRunTask call. It will continue to run until vibeYield() or any of the I/O or wait functions is called.

Note that the maximum size of all args must not exceed maxTaskParameterSize.

Prototype

Task runTask(ARGS...)(
  void delegate(ARGS) task,
  ARGS args
);
Authors

Sönke Ludwig

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.