Namespace: stream

gpf. stream

Root namespace for GPF streams

Since:
  • 0.1.9

Classes

AbstractOperator
BufferedRead
Filter
LineAdapter
Map
ReadableArray
ReadableString
WritableArray
WritableString

Namespaces

csv

Methods


<static> pipe(source, destination)

Pipe streams.

Parameters:
Name Type Argument Description
source gpf.interfaces.IReadableStream

Source stream

destination gpf.interfaces.IWritableStream <repeatable>

streams to pipe data through. It is assumed that the last destination stream will not block data receiving if readable), every other intermediate stream must also implement gpf.interfaces.IReadableStream interface

Since:
  • 0.2.3
Returns:

Resolved when reading (and subsequent writings) are done

Type
Promise