Skip to content

agent-playground / Exports / ExecutionSubscriber

Class: ExecutionSubscriber

🔗 ExecutionSubscriber - Bridges SDK events to Web App BlockCollector

Subscribes to SDK events and converts them to real-time block updates. Follows "actual data only" principle - no simulation or fake progress.

Table of contents

Constructors

Methods

Constructors

constructor

new ExecutionSubscriber(blockCollector): ExecutionSubscriber

Parameters

NameType
blockCollectorIPlaygroundBlockCollector

Returns

ExecutionSubscriber

Defined in

agent-playground/src/lib/playground/execution-subscriber.ts:57

Methods

initialize

initialize(eventEmitter): void

Initialize with EventEmitterPlugin

Parameters

NameType
eventEmitterIEventEmitterPlugin

Returns

void

Defined in

agent-playground/src/lib/playground/execution-subscriber.ts:103


dispose

dispose(): void

Cleanup - unsubscribe from all events

Returns

void

Defined in

agent-playground/src/lib/playground/execution-subscriber.ts:438

Released under the MIT License.