Type alias StreamPromiseBuilder<T>

StreamPromiseBuilder<T>: (() => {
    promise: Promise<T>;
    stream: Duplex;
})

Type Parameters

  • T

Type declaration

    • (): {
          promise: Promise<T>;
          stream: Duplex;
      }
    • Returns {
          promise: Promise<T>;
          stream: Duplex;
      }

      • promise: Promise<T>
      • stream: Duplex