Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paldepind/flyd-takeuntil
Emit values from a stream until a second stream emits a value.
https://github.com/paldepind/flyd-takeuntil
Last synced: 15 days ago
JSON representation
Emit values from a stream until a second stream emits a value.
- Host: GitHub
- URL: https://github.com/paldepind/flyd-takeuntil
- Owner: paldepind
- License: mit
- Created: 2015-04-23T17:45:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-24T13:44:42.000Z (over 9 years ago)
- Last Synced: 2024-10-28T07:22:17.128Z (23 days ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flyd-takeuntil
Emit values from a stream until a second stream emits a value.__Signature__
`Stream a -> Stream b -> Stream a`
__Example__
```javascript
// `s` will emit all values on `source` until `endStream` emits a value or ends
var s = takeUntil(source, endStream);
```