play

public abstract BatchDispatchOutcome play(Iterable<Event> events)

Plays the given events against the underlying entity.

Typically, the entity state is changed during this operation.

Parameters

events

the event stream to play


public DispatchOutcome play(Event event)

Plays the given event.

This is a convenience method. See play for more info.

Parameters

event

the event to play