MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ cancel_task()

MAYAFLUX_API bool MayaFlux::cancel_task ( const std::string &  name)

Cancels a scheduled task.

Parameters
nameName of the task to cancel
Returns
true if task was found and canceled, false otherwise

Convenience wrapper for Engine::cancel_task() on the default engine.

Definition at line 102 of file Chronie.cpp.

103{
104 return get_scheduler()->cancel_task(name);
105}
std::shared_ptr< Vruta::TaskScheduler > get_scheduler()
Gets the task scheduler from the default engine.
Definition Chronie.cpp:14

References get_scheduler().

+ Here is the call graph for this function: