AxEventRoute Generated TypeScript API reference. typescript api api/reference build/apidocs/Interface.AxEventRoute.md interface AxEventRoute

AxEventRoute

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/event/types.ts#L378

Properties

PropertyTypeDescription
actionAxEventRouteAction-
authorize?(ingress: Readonly<AxEventIngress>) => boolean | Promise<boolean>-
coalesce?"latest"Explicitly replace an older queued delivery in the debounce window.
correlation?(ingress: Readonly<AxEventIngress>) => | Readonly<AxEventCorrelationKey> | undefined-
debounceMs?numberHold matching deliveries for this long before they become claimable.
idstring-
instanceKey?(ingress: Readonly<AxEventIngress>) => string | Promise<string>-
invalidator?AxEventInvalidator-
match| Readonly<AxEventMatcher> | (ingress: Readonly<AxEventIngress>) => boolean | Promise<boolean>-
observe?(ingress: Readonly<AxEventIngress>, context: Readonly<AxEventContext>) => void | Promise<void>-
ordering?"strict" | "relaxed"Allow this route to run out of order for the same target/instance.
requireAuthenticated?boolean-
target?AxEventTarget<any, any>-
Docs