BackgroundService.clearEventsClears all stored data for the service.
| Name | Type | Description |
|---|---|---|
service | ServiceName |
{
"id": 1,
"method": "BackgroundService.clearEvents",
"params": {
"service": "service-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('BackgroundService.clearEvents', {"service": "service-value"});
console.log(result);