The contract for the handler defining its input and outputs as well as the description.
The default execution cost of the function. This can represent a dollar value or some other number with a rate card.
The functional handler of the event which takes the input, performs an action, and returns the result.
Optional
spanThe OpenTelemetry span options
Optional
systemOptional configuration to customize where system error events are emitted.
This overrides the default system error domain fallback of:
[event.domain, handler.contract.domain, null]
Use this to precisely control the set of domains that should receive structured
sys.*.error
events when uncaught exceptions occur in the handler.
Symbolic constants from ArvoDomain are supported.
Interface for an ArvoEvent handler.