flyd-takeuntil
v0.0.1
Published
Emit values from a stream until a second stream emits a value or ends.
Downloads
3
Readme
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);