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

AxEventSourceContext

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

Properties

PropertyType
signalAbortSignal

Methods

publish()

TypeScript
publish(ingress: Readonly<AxEventIngress>, signal?: AbortSignal): Promise<AxEventPublishReceipt>;

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

Parameters

ParameterType
ingressReadonly<AxEventIngress>
signal?AbortSignal

Returns

Promise<AxEventPublishReceipt>


reportError()

TypeScript
reportError(error: unknown): void;

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

Parameters

ParameterType
errorunknown

Returns

void

Docs