|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| EventChain & MayaFlux::Kriya::EventChain::on_complete | ( | std::function< void()> | callback | ) |
Sets a callback to execute when the chain stops executing.
| callback | Function to call after chain completes or is cancelled |
The callback fires once, on the thread that stops the chain, regardless of how it stops:
Use this for cleanup that must happen regardless of completion reason. For actions that should only run on successful completion, use .then()
Definition at line 163 of file Chain.cpp.
References callback, and m_on_complete.