paldepind / flyd-takeuntil

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:JavaScript 100.0%