pull combine latest
Combine the latest values from many streams. The algorithm waits until every stream has emitted a value, then emits a new array whenever one of the streams has more data.
install
$ npm install pull-combine-latest
example
var S = var combineLatest = /*output: [1,'a'] [2,'a'] [2,'b'] [3,'b'] [3,'c'] */ // new data is emitted as soon as it is received, so sync data will always// be emitted before async data/* [1,'a'] [2,'a'] [3,'a'] [3,'b'] [3,'c']*/ // object map/* { a: 1, b: 1 } { a: 2, b: 1 } { a: 2, b: 2 } { a: 3, b: 2 } { a: 3, b: 3 }*/