|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| Vruta::Event MayaFlux::Kriya::on_signal_matching | ( | std::shared_ptr< Vruta::BroadcastSource< T > > | source, |
| Predicate | predicate, | ||
| Callback | callback | ||
| ) |
Creates an Event coroutine that fires only when a predicate matches.
| source | Shared ownership of the BroadcastSource. |
| predicate | Returns true for values that should trigger the callback. |
| callback | Invoked with each matching value. |