Skip to content

agents / Exports / SilentContextualEventService

Class: SilentContextualEventService

🔇 Silent implementation of ContextualEventService for testing/fallback

Implements

  • ContextualEventServiceInterface

Table of contents

Constructors

Methods

Constructors

constructor

new SilentContextualEventService(): SilentContextualEventService

Returns

SilentContextualEventService

Methods

emit

emit(): void

Returns

void

Implementation of

ContextualEventServiceInterface.emit

Defined in

packages/agents/src/services/contextual-event/contextual-event-service.ts:392


trackExecution

trackExecution(): void

Returns

void

Implementation of

ContextualEventServiceInterface.trackExecution

Defined in

packages/agents/src/services/contextual-event/contextual-event-service.ts:396


createBoundEmit

createBoundEmit(): (eventType: string, data: ServiceEventData) => void

Returns

fn

▸ (eventType, data): void

Parameters
NameType
eventTypestring
dataServiceEventData
Returns

void

Implementation of

ContextualEventServiceInterface.createBoundEmit

Defined in

packages/agents/src/services/contextual-event/contextual-event-service.ts:400


createChild

createChild(childContext): ContextualEventServiceInterface

Parameters

NameType
childContextEventServiceCreationContext

Returns

ContextualEventServiceInterface

Implementation of

ContextualEventServiceInterface.createChild

Defined in

packages/agents/src/services/contextual-event/contextual-event-service.ts:406

createChild(sourceObject): ContextualEventServiceInterface

Parameters

NameType
sourceObjectunknown

Returns

ContextualEventServiceInterface

Implementation of

ContextualEventServiceInterface.createChild

Defined in

packages/agents/src/services/contextual-event/contextual-event-service.ts:407


getExecutionContext

getExecutionContext(): undefined

Returns

undefined

Implementation of

ContextualEventServiceInterface.getExecutionContext

Defined in

packages/agents/src/services/contextual-event/contextual-event-service.ts:413


getContextHierarchy

getContextHierarchy(): InternalExecutionContext[]

Returns

InternalExecutionContext[]

Implementation of

ContextualEventServiceInterface.getContextHierarchy

Defined in

packages/agents/src/services/contextual-event/contextual-event-service.ts:417

Released under the MIT License.