committedContextOf
fun committedContextOf(handler: CommittedBinding<*>, committed: CommandReceipt.Committed<*>, ids: Ids = IdGenerators.DEFAULT): SagaContext
The context an @OnCommitted handler gets for committed: its execution is (handler, aggregate, version) of the commit whose saga execution derived the command, and the commands it derives are ExecutionReceiptContext's, deterministic per committed command; it takes its ids from ids.
fun committedContextOf(handler: CommittedBinding<*>, committed: CommandReceipt.Committed<*>, ids: Ids, commandTypes: CommandTypes, queries: ContextQueries = ContextQueries.NONE, calls: CommandCalls = CommandCalls.NONE): SagaContext
The context an @OnCommitted handler gets for committed, as committedContextOf gives it, whose commands without a ref go to the aggregate type commandTypes assigns their class, and whose calls go through calls.