• Iterate multiple iterators at the same time returning the elements in sorted order,

    Type Parameters

    Parameters

    • iterators: AsyncIterator<EntryT, any, undefined>[]

      Iterators that return linked list entries. Each iterator must return the elements sorted by creation time (highest creation time first)

    • terminateOnSingleIterator: boolean = false

      Terminate if only one iterator has elements left

    • yieldCommonHistoryElement: boolean = true

      If terminated, include the common history element

    • onlyDifferentElements: boolean = false

      Only return elements that differ (have different CreationTime hashes

    Returns AsyncIterableIterator<EntryT & {
        activeIteratorCount: number;
        iterIndex: number;
    }>