Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Andarist/callbag-drop-until

Starts emitting the input stream when another stream emits a value.
https://github.com/Andarist/callbag-drop-until

callbag callbags

Last synced: 18 days ago
JSON representation

Starts emitting the input stream when another stream emits a value.

Awesome Lists containing this project

README

        

# callbag-drop-until

Drop emitted values from source until provided observable emits.

## Example

```js
import dropUntil from 'callbag-drop-until'
import forEach from 'callbag-for-each'
import pipe from 'callbag-pipe'
import timer from 'callbag-timer'

pipe(
interval(1000),
dropUntil(timer(6000)),
forEach(value => {
// will log 5 6 7 8 ...
console.log(value)
}),
)
```