screamer.js
    Preparing search index...

    Function merge

    • Merge N streams into one in index order; equal indexes keep the input order. Every input has rows of one width (a 1-D stream has width 1).

      • Arrays (a typed array, an Array, T rows or an NdArray), or indexed streams { values, index }, the counterpart of Python's (values, index) tuple. Without an index each input's index is its row numbers. Returns { values, sources, index }: the rows in merged order (a Float64Array, or an NdArray [rows, ...row shape] for wide inputs), the input of each row (a Uint32Array) and the merged index (null without one).
      • Iterators, or async iterables, of events: a value (a number, an Array, a typed array or an NdArray), or { value, index }. Returns an iterator, or an async iterator, of { value, index, source } events (index null without one).

      Python's merge gives the same values. A merge is input routing, not a Pipeline node: feed the streams to a Pipeline directly.

      Parameters

      Returns MergeResult

    • Merge N streams into one in index order; equal indexes keep the input order. Every input has rows of one width (a 1-D stream has width 1).

      • Arrays (a typed array, an Array, T rows or an NdArray), or indexed streams { values, index }, the counterpart of Python's (values, index) tuple. Without an index each input's index is its row numbers. Returns { values, sources, index }: the rows in merged order (a Float64Array, or an NdArray [rows, ...row shape] for wide inputs), the input of each row (a Uint32Array) and the merged index (null without one).
      • Iterators, or async iterables, of events: a value (a number, an Array, a typed array or an NdArray), or { value, index }. Returns an iterator, or an async iterator, of { value, index, source } events (index null without one).

      Python's merge gives the same values. A merge is input routing, not a Pipeline node: feed the streams to a Pipeline directly.

      Parameters

      Returns AsyncGenerator<MergeEvent, void, undefined>

    • Merge N streams into one in index order; equal indexes keep the input order. Every input has rows of one width (a 1-D stream has width 1).

      • Arrays (a typed array, an Array, T rows or an NdArray), or indexed streams { values, index }, the counterpart of Python's (values, index) tuple. Without an index each input's index is its row numbers. Returns { values, sources, index }: the rows in merged order (a Float64Array, or an NdArray [rows, ...row shape] for wide inputs), the input of each row (a Uint32Array) and the merged index (null without one).
      • Iterators, or async iterables, of events: a value (a number, an Array, a typed array or an NdArray), or { value, index }. Returns an iterator, or an async iterator, of { value, index, source } events (index null without one).

      Python's merge gives the same values. A merge is input routing, not a Pipeline node: feed the streams to a Pipeline directly.

      Parameters

      Returns Generator<MergeEvent, void, undefined>