Skip to content

Tag: rxjs

Rxjs One Observable Feeding into Another

I have a rather clunky looking set of code where the data from one observable is feed into another, like such: I know that there are ways to combine and chain but I need data from source to be feed into source2. The nesting of subscribes looks terrible and I’m pretty certain there is a better way to do …

How to convert node readable stream to RX observable

If I have a Node js stream, say for example from something like process.stdin or from fs.createReadStream, how can I convert this to be an RxJs Observable stream using RxJs5? I see that RxJs-Node has a fromReadableStream method, but that looks like it hasn’t been updated in close to a year. Answer For a…