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

◆ await_ready()

bool MayaFlux::Kriya::SampleDelay::await_ready ( ) const
inline

Checks if the delay should be bypassed.

Returns
True if no delay is needed, false otherwise

If samples_to_wait is 0, the coroutine continues execution without suspending. This optimization avoids the overhead of suspension for zero-length delays.

Definition at line 66 of file Awaiters.hpp.

66{ return samples_to_wait == 0; }
uint64_t samples_to_wait
Number of time units to wait before resuming the coroutine.
Definition Awaiters.hpp:51