|
MayaFlux 0.3.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 regardless of how the chain 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 136 of file Chain.cpp.
References m_on_complete.