xstream-between
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

xstream-between

An xstream operator to filter for events between two stream events.

npm install --save xstream-between

description

Filter for events from source that occur between the latest event from first and the latest event from second.

source: --a--b----c----d---e-f--g----h---i--j-----
first:  -------F------------------F---------------
second: -----------------S-----------------S------
                        between
output: ----------c----d-------------h---i--------

usage

import between from 'xstream-between';

const output$ = source$.compose(between(first$, second$));

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i xstream-between

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.71 kB

Total Files

7

Last publish

Collaborators

  • staltz