contextOf

fun contextOf(kind: FunctionKind, subscription: String, event: StateEvent<*>, ids: Ids = IdGenerators.DEFAULT, commandTypes: CommandTypes = CommandTypes.SIMPLE_NAMES, calls: CommandCalls = CommandCalls.NONE, queries: ContextQueries = ContextQueries.NONE, sends: SagaSends? = null): SubscriptionContext

The context a handler of kind gets for the execution of event by the subscription subscription: its ExecutionId is (subscription, aggregate, version); a saga's takes its ids from ids, names the commands it schedules by commandTypes, makes its synchronous calls through calls and sends what sends declares; every handler reads through queries.