eventRoute Generated TypeScript API reference. typescript api api/reference build/apidocs/Function.eventRoute.md function eventRoute

eventRoute

Call Signature

TypeScript
function eventRoute(id: string): AxEventRouteBuilder;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/event/runtime.ts#L118

Parameters

ParameterType
idstring

Returns

AxEventRouteBuilder

Call Signature

TypeScript
function eventRoute(route: Readonly<AxEventRoute>): AxEventRoute;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/event/runtime.ts#L119

Parameters

ParameterType
routeReadonly<AxEventRoute>

Returns

AxEventRoute

Docs