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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i flyd-takeuntil

    Weekly Downloads

    7

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • paldepind