Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 750 Bytes

from_transform_stream.md

File metadata and controls

31 lines (18 loc) · 750 Bytes

fromTransformStream

Rx.Node.fromTransformStream(stream)

#

Converts a flowing transform stream to an Observable sequence.

Arguments

  1. stream (Stream): A stream to convert to a observable sequence.

Returns

(Observable): An observable sequence which fires on each 'data' event as well as handling 'error' and 'finish' events.

Example

var Rx = require('rx');

var subscription = Rx.Node.fromTransformStream(getTransformStreamSomehow());

{% if book.isPdf %}

{% else %}

Location

  • rx.node.js

{% endif %}