redux-streams
Store middleware for Redux that let's you dispatch streams of actions.
Installation
npm install --save redux-streams
Usage
Store
;; // Somewhere; const store = ;
Node Streams
; var stream = objectMode: true ; stream;stream;stream;stream;stream;stream; store; // or store.dispatch({ type: 'some:thing', payload: stream });
Highland.js Streams
; var stream = ; store; // or store.dispatch({ type: 'some:thing', payload: stream });
Untested
One idea is for streams to be able to emit streams that emit streams etc that emit actions. I'm not sure what the correct terminology for this is;
; var stream = ; store; // or store.dispatch({ type: 'some:thing', payload: stream });