const theAction = new Action(); // can also be a Unit, System or Cluster
theAction.events$.subscribe(event => {
// Action, AsyncSystem and Cluster only have one event
// so filtering is optional
if(event instanceof EventReplay) {
console.log('hey, you got replayed');
theAction.dispatch('order order');
// this won't trigger any event, only Units emit an event on dispatch
theAction.replay(); // it'll trigger the EventReplay event