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/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/event/types.ts#L365

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>) => | undefined | Readonly<AxEventCorrelationKey>-
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