Simple utility to run a delegate inside a task while automatically starting
event loop behind the scen. Intended for usage in script-like programs, does
a new allocation each call.
Turns dg into a task and runs it through scheduler. Starts the event loop
automatically and will finish only when all tasks finish and no registered
events remain (or theScheduler.shutdown is called).
Boost Software License Version 1.0. See LICENSE_BOOST.txt for details.
Alternatively, this file may be distributed under the terms of the Tango
3-Clause BSD License (see LICENSE_BSD.txt for details).
Simple utility to run a delegate inside a task while automatically starting event loop behind the scen. Intended for usage in script-like programs, does a new allocation each call.