Type alias CallbackOrStream<T, E>

CallbackOrStream<T, E>: (() => Stream<T, E>) | Stream<T, E>

Type that may be a callback that resolves to a stream, or just a stream.

Type Parameters

  • T

  • E

Type declaration

Generated using TypeDoc