Type alias Stream<T>

Stream<T>: Source<T> | SignalSource<T>

An uneventful stream is either a Source or a SignalSource. (Signals actually implement the Source interface as an overload, but TypeScript gets confused about that sometimes, so we generally declare our stream inputs as Stream<T> and our stream outputs as Source, so that TypeScript knows what's what.

Type Parameters

  • T