Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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);
```