Function EventLoop.callSoon

Arrange for a callback to be called as soon as possible.

This operates as a FIFO queue, callbacks are called in the order in which they are registered. Each callback will be called exactly once.

Any positional arguments after the callback will be passed to the callback when it is called.

Prototype

final auto callSoon(Dg, Args...)(
  Dg dg,
  Args args
);

Returns

an instance of Callback.

Authors

Dragos Carp

Copyright

© 2015-2016 Dragos Carp

License

Boost Software License - Version 1.0