<!--
 ⚠️  AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
 This file is automatically generated by scripts/docs-generator.js
 To make changes, edit the source TypeScript files or update the generator script
-->

[playground](../../) / [Exports](../modules) / 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

- [constructor](ExecutionSubscriber#constructor)

### Methods

- [initialize](ExecutionSubscriber#initialize)
- [dispose](ExecutionSubscriber#dispose)

## Constructors

### constructor

• **new ExecutionSubscriber**(`blockCollector`): [`ExecutionSubscriber`](ExecutionSubscriber)

#### Parameters

| Name             | Type                                                   |
| :--------------- | :----------------------------------------------------- |
| `blockCollector` | [`PlaygroundBlockCollector`](PlaygroundBlockCollector) |

#### Returns

[`ExecutionSubscriber`](ExecutionSubscriber)

#### Defined in

[playground/src/lib/playground/execution-subscriber.ts:31](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/playground/src/lib/playground/execution-subscriber.ts#L31)

## Methods

### initialize

▸ **initialize**(`eventEmitter`): `void`

Initialize with EventEmitterPlugin

#### Parameters

| Name           | Type                 |
| :------------- | :------------------- |
| `eventEmitter` | `EventEmitterPlugin` |

#### Returns

`void`

#### Defined in

[playground/src/lib/playground/execution-subscriber.ts:38](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/playground/src/lib/playground/execution-subscriber.ts#L38)

---

### dispose

▸ **dispose**(): `void`

Cleanup - unsubscribe from all events

#### Returns

`void`

#### Defined in

[playground/src/lib/playground/execution-subscriber.ts:350](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/playground/src/lib/playground/execution-subscriber.ts#L350)
