StateMachine<S> class
A state machine for State.
- Implemented types
Constructors
- StateMachine(S _state)
Properties
Methods
-
close(
) → void -
Closes the internal StreamController
override
-
evaluate<
A> (State< S, A> state) → A - Run the computation and returns the result only.
-
evaluateSeq(
Iterable< State< arr) → IListS, dynamic> > - Run the iterable of State's in sequence, only returning the results.
-
execute(
State< S, dynamic> state) → S - Run the computation and returns the state only.
-
executeSeq(
Iterable< State< arr) → IList<S, dynamic> >S> - Run the iterable of State's in sequence, only returning the new states.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run<
A> (State< S, A> state) → dynamic - Run the computation and returns a tuple of the result and state.
-
sequence(
Iterable< State< arr) → IListS, dynamic> > - Run the iterable of State's in sequence
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited