Const
Readonly
FROM_Resolve the domain from the contract that defines the event being emitted (eventContract.domain
).
In ArvoResumable
and ArvoMachine
, this is typically used when emitting service events
(not the completion event). In ArvoEventHandler
, where only the self contract exists,
this resolves to the same value as FROM_SELF_CONTRACT
.
For orchestration complete
events, this behaves identically to FROM_SELF_CONTRACT
since the emitting contract is also the self contract.
Readonly
FROM_Resolve the domain from the emitting handler’s own contract (handlerSelfContract.domain
).
Use this when the handler’s contract defines a stable domain that should apply to all emitted events, regardless of the triggering context.
Readonly
FROM_Resolve the domain from the triggering event’s domain
field (triggeringEvent.domain
).
Use this when you want to preserve the domain context of the incoming event and carry it forward through event emissions.
Symbolic constants for domain resolution in Arvo event emission.
These can be passed into the
domain
array of an emitted ArvoEvent to indicate that the final domain should be dynamically resolved from a specific context.