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.
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.