abstract fun onReact(state: S, events: EventChannel<E>, workflows: WorkflowPool): Single<out Reaction<S, O>>