Skip to main content

Class: FunctionEventSource

Constructors

constructor

new FunctionEventSource(«destructured»): FunctionEventSource

Parameters

NameType
«destructured»Object
› errorHandler?ErrorHandler
› observersFunctionObserver[]

Returns

FunctionEventSource

Defined in

packages/modelfusion/src/core/FunctionEventSource.ts:9

Methods

notify

notify(event): void

Parameters

NameType
eventFunctionEvent

Returns

void

Defined in

packages/modelfusion/src/core/FunctionEventSource.ts:20

Properties

errorHandler

Readonly errorHandler: ErrorHandler

Defined in

packages/modelfusion/src/core/FunctionEventSource.ts:7


observers

Readonly observers: FunctionObserver[]

Defined in

packages/modelfusion/src/core/FunctionEventSource.ts:6