LxStream<T> constructor
LxStream<T> (
- Stream<
T> stream, { - T? initial,
Creates an LxStream bound to the given stream.
Implementation
LxStream(Stream<T> stream, {T? initial})
: super(_LxAsyncVal.initialStatus<T>(initial),
onListen: null, onCancel: null) {
_bind(stream);
}