AxEventTarget
Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/event/types.ts#L311
Type Parameters
| Type Parameter | Default type |
|---|
IN | any |
OUT | any |
Properties
| Property | Type | Description |
|---|
ai | Readonly<AxAIService> | - |
createProgram? | (instance: Readonly<{ identity: Readonly<AxEventIdentity>; instanceKey: string; targetId: string; }>) => | AxProgrammable<IN, OUT, string> | Promise<AxProgrammable<IN, OUT, string>> | - |
execution? | "streaming" | "forward" | - |
forwardOptions? | Readonly<AxProgramForwardOptions<string>> | - |
id | string | - |
input? | Readonly<AxEventInputPlan<IN>> | - |
inputSignature? | Readonly<AxSignature<Record<string, any>, Record<string, any>>> | Required when createProgram is combined with declarative input plans. |
mapInput? | (ingress: Readonly<AxEventIngress>, context: Readonly<AxEventTargetInputContext>) => IN | Promise<IN> | - |
program? | AxProgrammable<IN, OUT, string> | - |
resumeInput? | Readonly<AxEventInputPlan<IN>> | - |
retrySafety? | "unknown" | "idempotent" | - |
sinks? | readonly AxEventSink<OUT>[] | - |
state? | AxEventProgramStateAdapter<AxProgrammable<IN, OUT, string>> | - |
waitFor? | readonly Readonly<AxEventContinuationPlan>[] | - |
wakeInput? | Readonly<AxEventInputPlan<IN>> | - |