AxEventRoute
Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/event/types.ts#L365
Properties
| Property | Type | Description |
|---|---|---|
action | AxEventRouteAction | - |
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? | number | Hold matching deliveries for this long before they become claimable. |
id | string | - |
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> | - |