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

    Function pipe

    • Processes a promise, returning it as-is.

      Type Parameters

      • V

        The type of value in the promise

      Parameters

      • source: Promise<V>

        The promise to process

      Returns Promise<V>

      The same promise

    • Processes a pipe, retrieving its underlying async iterable.

      Type Parameters

      • V

        The type of values in the pipe

      Parameters

      • source: Pipe<V>

        The pipe to process

      Returns AsyncIterable<V>

      The underlying async iterable