@metreeca/pipe - v0.9.11
    Preparing search index...

    Function merge

    • Merges multiple data sources into a single stream, yielding items as they become available.

      Items are emitted in the order they resolve, not in source order. All sources are consumed concurrently.

      Type Parameters

      • V

        The type of items in the streams

      Parameters

      • ...sources: readonly (Data<V> | Promise<Data<V>>)[]

        The data sources to merge (can be synchronous or asynchronous)

      Returns Pipe<V>

      A pipe containing all items from all sources