processor property

EventAcceptor<S> processor
final

Updates the state of the state management instance.

When the processor is executed, the passed event.call is called with the current state of the state management instance and the return value is taken as the new state of the state management instance. The event.call must be executed synchronously.

Implementation

final EventAcceptor<S> processor;