StreamHandler<T> typedef

StreamHandler<T> = void Function(Stream<T>)

A function-type alias that receives a stream of values.

Implementation

typedef StreamHandler<T> = void Function(Stream<T>);