rxjs - rx-node writeToStream not emitting output to process.stdout -
i have been using node extensions rx (rx-node) , having trouble using particular function, writetostream.
the following example not emit values console (process.stdout):
var rx = require('rx'); var rxnode = require('rx-node'); var source = rx.observable.range(0, 5); var subscription = rxnode.writetostream(source, process.stdout, 'utf8');
i have tried using alternative using simple subscriptions works fine (i write output "next" directly console) work-around getting writetostream working.
any ideas amy need writetostream working? appreciated.
this issue bug in 1.0 version of rx-node. has been fixed in latest versions. these fixes not yet on npm, best fix right download master source directly (it's 1 file).
update 1 fix live on npm of version 1.0.1
Comments
Post a Comment