BackgroundService.startObservingEnables event updates for the service.
| Name | Type | Description |
|---|---|---|
service | ServiceName |
{
"id": 1,
"method": "BackgroundService.startObserving",
"params": {
"service": "service-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('BackgroundService.startObserving', {"service": "service-value"});
console.log(result);