S - The concrete type of the state object.C - The concrete command type that this handler will handle.E - The concrete event type that this handler will produce.public interface SyncMultiCommandHandler<S extends State,C extends Command,E extends Event> extends MultiCommandHandler<S,C,E>
| Modifier and Type | Method and Description |
|---|---|
Collection<E> |
handle(S state,
C command)
Handle a command synchronously and produce multiple events.
|
Collection<E> handle(S state, C command)
state - The current state object.command - The command object to handle.Copyright © 2016 Cooking Fox. All rights reserved.