handle
abstract suspend fun <T : Any, P> handle(command: Command<T, P>, context: C, options: ProcessingOptions): CommandResult<T, C, D>
Submits a single event for processing.
Return
either a Success or a Failure describing the processing result
Parameters
command
the event
context
including the actorIdentity on whose behalf the read happens
dry Run
when true, no models will be updated and no effects will be triggered
following
if provided, fails if there has been another event after the instant