makeSceneScopedQueue
makeSceneScopedQueue(
processSystem,scene,options?):ScopedProcessQueue
Defined in: ProcessQueue.ts:97
Scoped queue bound to a specific scene’s lifecycle. Routes through
ProcessSystem.addForScene, so processes pause with the scene and are
scaled by its timeScale — matching the behaviour of entity-owned
ProcessComponent processes.
options.clock picks the clock for every process the queue enqueues
(default "frame", rendered-frame time; see ProcessClock). "fixed"
schedules them on the fixed timestep through ProcessFixedUpdateSystem.
The clock is read when the queue is created, so run(p) takes none.
One queue carries one clock. Work on the other clock needs a second queue,
with its own cancelAll().
Parameters
Section titled “Parameters”processSystem
Section titled “processSystem”options?
Section titled “options?”clock?
Section titled “clock?”Returns
Section titled “Returns”Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/core.md.