Core · function

startLoop

Starts the loop immediately. Returns a stop function.

Explained in The loop.

function startLoop(hooks: LoopHooks, options?: LoopOptions): () => void
import { startLoop } from '@driftengine/core';

Parameters

ParameterTypeDescription
hooksLoopHooks
options?LoopOptions