← Back to BackgroundService domain

BackgroundService.stopObserving

Disables event updates for the service.

Domain: BackgroundService experimental

Parameters

NameTypeDescription
serviceServiceName

Example Request

{
  "id": 1,
  "method": "BackgroundService.stopObserving",
  "params": {
    "service": "service-value"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('BackgroundService.stopObserving', {"service": "service-value"});
console.log(result);