Stream transformer : reduce new state from commands stream
transform a Stream
- Implements
-
- StreamTransformer<S, T>
Constructors
- CommandStreamReducer(T state, { bool sync: false, bool cancelOnError })
- CommandStreamReducer.broadcast(T state, { bool sync: false, bool cancelOnError })
Properties
- cancelOnError → bool
-
read / write
- hashCode → int
-
Get a hash code for this object.
read-only, inherited - history → List<S>
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - state → T
-
read / write
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
bind(
Stream<S> stream) → Stream<T> -
Transform the incoming
stream
's events. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
onData(
S cmd) → Future -
toString(
) → String -
Returns a string representation of this object.
inherited