Skip to main content

TimerRecord

Defined in: js-api/src/u2core/debug.ts:26

A pending timeout, interval or animation frame created through a scope helper or while a u2 scope was current.

Properties​

PropertyTypeDescriptionDefined in
createdAtnumberperformance.now() at creation.js-api/src/u2core/debug.ts:38
idnumberUnique per page, increasing in creation order.js-api/src/u2core/debug.ts:28
kind"timeout" | "interval" | "raf"setTimeout, setInterval or requestAnimationFrame.js-api/src/u2core/debug.ts:30
label?string'singleton' when the owner is kept for the page's life by design (U2Debug.markSingleton).js-api/src/u2core/debug.ts:36
ms?numberThe delay or period.js-api/src/u2core/debug.ts:32
owner?numberThe owning scope's id.js-api/src/u2core/debug.ts:34
stack?stringCreation stack; present when enabled with stacks.js-api/src/u2core/debug.ts:40