@cprecioso/async-iterable-helpers
    Preparing search index...

    Function tap

    • Invokes fn for each item in the source, yielding the original items unchanged. The function may be async; its result is awaited.

      Type Parameters

      • T

      Parameters

      • fn: (item: Awaited<T>) => void | Promise<void>

        Function to invoke for each item.

      Returns PipeFn<T, Awaited<T>>

      A pipe that yields the original items.