Skip to main content

Function: getLastGpuMemoryFailure()

getLastGpuMemoryFailure(): GpuMemoryFailureEventDetail | undefined

Experimental

The last GPU memory failure of this page that the application has not acknowledged, for a listener that subscribes after the event fired. A crash that the start of the page found counts, so an application can show it once it is ready. undefined when there is none.

It may change in a later 5.x version.

Returns​

GpuMemoryFailureEventDetail | undefined

Defined in​

packages/core/src/utilities/gpuMemoryFailures.ts:266