@azerum/ts-csp
    Preparing search index...

    Function merge

    • Merges AsyncIterables into a channel that yields values as soon as any iterable does

      The returned channel closes once all iterables are closed

      Type Parameters

      • TSources extends AsyncIterable<any, any, any>[]

      Parameters

      • sources: TSources
      • outputChannelCapacity: number

        Capacity of the buffer of the returned channel. 0 would be a default choice

      Returns ReadableChannel<IterableElementType<TSources[number]>>