window context. It overrides the getter/setter for the property to capture real-time updates.
Command Type
Command Type ID: 12Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| key | string | The name of the property to observe within the target object | Yes |
| name | string | A unique identifier for this listener | Yes |
| parentObjectPath | string | Dot-path to the parent object in the window context | Yes |
| timeout | number | Timeout in milliseconds | Yes |
| correlationId | string | Unique identifier to correlate events triggered by this observer | No |
| sendOnChange | Array of NamedGetWindowDataCommandParams | Additional data to send when the observed property changes | No |
Usage Examples
Observe a State Property
Observe with Additional Data Fetch
Related Commands
- Get Window Data - One-time window data extraction
- Subscribe WebSocket Event - Monitor WebSocket messages