1681-engine / index / noteContextLoss
Function: noteContextLoss() ​
ts
function noteContextLoss(
earlier,
now,
hidden?,
policy?
): ContextLossVerdict;Defined in: src/diagnostics/contextLoss.ts:28
One more context loss at now, given the earlier ones. A loss while the page is hidden is the system taking the GPU back, not the GPU failing, so it is not counted against it.
Parameters ​
| Parameter | Type | Default value |
|---|---|---|
earlier | readonly number[] | undefined |
now | number | undefined |
hidden | boolean | false |
policy | ContextLossPolicy | {} |