SubscriptionContext
What every subscription handler can ask of the runtime besides the StateEvent it handles: the context of a me.ahoo.wow.api.annotation.Projection's or a me.ahoo.wow.api.annotation.Reactor's handler, and what every other context adds to.
Inheritors
Properties
This execution: stable across every time the same commit is handled by the same subscription. It is per stream: a handler called once per event of a type gets the same one for each of the stream's events, so an outside call takes invocationKey as its idempotency key instead.
The idempotency key of this call of the handler, the one key an outside call takes: executionId for a handler of the whole stream, executionId:eventIndex for a handler of one event of the stream (StateTypedEvent.eventIndex). Stable across every time the same commit is handled again, so a payment gateway, say, takes the same call once.
The read side of the node: the snapshots, events and datasets of the tenant of the commit this execution handles, the whole tenant; another tenant's only through SubscriptionQueries.trusted. Reads are not part of the execution's determinism: handling the commit again reads the read side as it is then.