dispatch

public final DispatchOutcome dispatch(EventEnvelope event)

Dispatches the event to the corresponding entities.

If there is no stored entity with such an ID, a new one is created and stored after it handles the passed event.

Parameters

event

the event to dispatch