Skip to content

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
blockCollectorPlaygroundBlockCollector

Returns

ExecutionSubscriber

Defined in

playground/src/lib/playground/execution-subscriber.ts:31

Methods

initialize

initialize(eventEmitter): void

Initialize with EventEmitterPlugin

Parameters

NameType
eventEmitterEventEmitterPlugin

Returns

void

Defined in

playground/src/lib/playground/execution-subscriber.ts:38


dispose

dispose(): void

Cleanup - unsubscribe from all events

Returns

void

Defined in

playground/src/lib/playground/execution-subscriber.ts:350

Released under the MIT License.