flyd-takeuntil

0.0.1 • Public • Published

flyd-takeuntil

Emit values from a stream until a second stream emits a value.

Signature

Stream a -> Stream b -> Stream a

Example

// `s` will emit all values on `source` until `endStream` emits a value or ends
var s = takeUntil(source, endStream);

Readme

Keywords

Package Sidebar

Install

npm i flyd-takeuntil

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • paldepind