Writes an observable sequence to a stream.
observable
(Obsesrvable): Observable sequence to write to a stream.stream
(Stream): The stream to write to.[encoding]
(String): The encoding of the item to write.
(Disposable): The subscription handle.
var Rx = require('Rx');
var source = Rx.Observable.range(0, 5);
var subscription = Rx.Node.writeToStream(source, process.stdout, 'utf8');
// => 01234
{% if book.isPdf %}
{% else %}
- rx.node.js
{% endif %}