call abstract method

Next<State, Effect> call(
  1. State state,
  2. Msg message
)

Processes the current state and an incoming message.

Returns a Next object containing the new state (if any) and a list of effects to execute.

Implementation

Next<State, Effect> call(State state, Msg message);