MCPcopy Create free account
hub / github.com/melonjs/melonJS / _pauseRunLoop

Function _pauseRunLoop

packages/melonjs/src/state/state.ts:100–103  ·  view source on GitHub ↗

* Pause the loop for most stage objects. * @ignore

()

Source from the content-addressed store, hash-verified

98 * @ignore
99 */
100function _pauseRunLoop(): void {
101 // Set the paused boolean to stop updates on (most) entities
102 _isPaused = true;
103}
104
105/**
106 * Drain and resolve any pending freeze() promises.

Callers 1

pauseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected