Type alias TPushable<TIn, TOut>

TPushable<TIn, TOut>: {
    done: (() => void);
    push: ((T: any) => void);
}

Anything with a push and a done method, to support pushable async iterators.

Type Parameters

  • TIn = any

  • TOut = any

Type declaration

  • done: (() => void)
      • (): void
      • Returns void

  • push: ((T: any) => void)
      • (T: any): void
      • Parameters

        • T: any

        Returns void

Generated using TypeDoc