• Prepend a value to an async-iterable sequence.

    Type Parameters

    • TSource extends any[]

      The type of the elements in the source sequence.

    Parameters

    • Rest ...args: TSource

      Elements to prepend to the specified sequence.

    Returns (<TInput>(source) => AsyncIterable<TInput | TSource[number & keyof TSource]>)

    The source sequence prepended with the specified values.

      • <TInput>(source): AsyncIterable<TInput | TSource[number & keyof TSource]>
      • Type Parameters

        • TInput

        Parameters

        • source: AsyncIterable<TInput>

        Returns AsyncIterable<TInput | TSource[number & keyof TSource]>

Generated using TypeDoc