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
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
| Name | Type |
|---|---|
eventType | string |
data | ServiceEventData |
Returns
void
Implementation of
ContextualEventServiceInterface.createBoundEmit
Defined in
packages/agents/src/services/contextual-event/contextual-event-service.ts:400
createChild
▸ createChild(childContext): ContextualEventServiceInterface
Parameters
| Name | Type |
|---|---|
childContext | EventServiceCreationContext |
Returns
ContextualEventServiceInterface
Implementation of
ContextualEventServiceInterface.createChild
Defined in
packages/agents/src/services/contextual-event/contextual-event-service.ts:406
▸ createChild(sourceObject): ContextualEventServiceInterface
Parameters
| Name | Type |
|---|---|
sourceObject | unknown |
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