callbag-drop-until

1.0.0 • Public • Published

callbag-drop-until

Drop emitted values from source until provided observable emits.

Example

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)
  }),
)

Readme

Keywords

Package Sidebar

Install

npm i callbag-drop-until

Weekly Downloads

78

Version

1.0.0

License

MIT

Unpacked Size

3.46 kB

Total Files

4

Last publish

Collaborators

  • andarist