AppContext.observeTicks).
Properties
timings?
Defined in: packages/common/src/context/context.type.ts:56 Whetherreadonlyoptionaltimings?:boolean
onHook is wanted (read each tick): hooks are only timed when it is.
Methods
onHook()?
Defined in: packages/common/src/context/context.type.ts:58 Time a library spent in a hook (optionalonHook(key,ms):void
__events or __run) of the current tick, in ms.
Parameters
key
string
ms
number
Returns
void
onStop()?
Defined in: packages/common/src/context/context.type.ts:62 The loop stopped: every library was cleared.optionalonStop():void
Returns
void
onTick()?
Defined in: packages/common/src/context/context.type.ts:60 End of a tick, paused ones too: its duration in ms and the current time.optionalonTick(ms,now):void
Parameters
ms
number
now
number
Returns
void