AxTimerEventSource Generated TypeScript API reference. typescript api api/reference build/apidocs/Class.AxTimerEventSource.md class AxTimerEventSource

AxTimerEventSource

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

Type Parameters

Type ParameterDefault type
T extends AxEventValueAxEventValue

Implements

Constructors

Constructor

TypeScript
new AxTimerEventSource<T>(options: Readonly<AxTimerEventSourceOptions<T>>): AxTimerEventSource<T>;

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

Parameters

ParameterType
optionsReadonly<AxTimerEventSourceOptions<T>>

Returns

AxTimerEventSource<T>

Properties

PropertyModifierTypeDefault value
idreadonlystringundefined
requiresDurablereadonlyfalsefalse

Methods

start()

TypeScript
start(context: Readonly<AxEventSourceContext>): AxEventSourceHandle;

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

Parameters

ParameterType
contextReadonly<AxEventSourceContext>

Returns

AxEventSourceHandle

Implementation of

AxEventSource.start

Docs