Profiler.getBestEffortCoverageCollect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.
| Name | Type | Description |
|---|---|---|
result | array | Coverage data for the current isolate. |
{
"id": 1,
"method": "Profiler.getBestEffortCoverage"
}
{
"id": 1,
"result": {
"result": {
"type": "string",
"value": "Example Domain"
}
}
}
const result = await send('Profiler.getBestEffortCoverage');
console.log(result);
// {"result": {"type": "string", "value": "Example Domain"}}