Creates an ArvoEventHandler for processing events defined by a specific contract.
Each handler manages event validation, processing, and telemetry for its contract.
Example
consthandler = createArvoEventHandler({ contract:userContract, executionunits:10, handler: { '1.0.0':async ({ event }) => { // Process event according to contract v1.0.0 } } });
Creates an ArvoEventHandler for processing events defined by a specific contract. Each handler manages event validation, processing, and telemetry for its contract.
Example