callbag-find
Callbag operator that emits only the first value emitted by the source Callbag that meets some condition given a predicate function. Works for listenable and pullable sources.
npm install callbag-find
Examples
Find the first even number
const find = ;const subscribe = ;const fromIter = ;const pipe = ; ; // => done
Find the first click that happens on a div tag
const find = ;const subscribe = ;const fromEvent = ;const pipe = ; ;