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

◆ wait()

EventChain & MayaFlux::Kriya::EventChain::wait ( double  delay_seconds)

Add a wait/delay without an action.

Parameters
delay_secondsTime to wait in seconds
Returns
Reference to this EventChain for method chaining

Definition at line 46 of file Chain.cpp.

47{
48 return then([]() { }, delay_seconds);
49}
EventChain & then(std::function< void()> action, double delay_seconds=0.F)
Adds an event to the chain with a specified delay.
Definition Chain.cpp:20

References then().

+ Here is the call graph for this function: