Core · function
startLoop
Starts the loop immediately. Returns a stop function.
Explained in The loop.
function startLoop(hooks: LoopHooks, options?: LoopOptions): () => voidimport { startLoop } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
hooks | LoopHooks | |
options? | LoopOptions |