System<State, Event>.pure constructor
System<State, Event>.pure (
- Run<
State, Event> _run
Create a System with underlying run function.
It can be used when we has custom run logic.
Like Mock System
that is used for testing purpose.
Implementation
System.pure(this._run);