Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/Andarist/callbag-drop-until
- Owner: Andarist
- Created: 2018-03-24T22:01:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-11T20:00:23.000Z (about 6 years ago)
- Last Synced: 2024-10-20T06:22:59.457Z (24 days ago)
- Topics: callbag, callbags
- Language: JavaScript
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-callbags - drop-until
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)
}),
)
```