Type Alias ArvoEventHandlerFunctionInput<TContract>
ArvoEventHandlerFunctionInput<TContract>: { contract: TContract; domain: { event: string | null; self: string | null; }; event: InferArvoEvent<ArvoEvent<z.infer<TContract["accepts"]["schema"]>, Record<string, any>, TContract["accepts"]["type"]>>; source: string; span: Span; } Type Parameters
- TContract extends VersionedArvoContract<any, any>
Type declaration
domain: {
event: string | null;
self: string | null;
}
event: string | null
self: string | null
event: InferArvoEvent<ArvoEvent<z.infer<TContract["accepts"]["schema"]>, Record<string, any>, TContract["accepts"]["type"]>>
source: string
span: Span
Represents the input for an ArvoEvent handler function.