• Wait for a number of frames to pass.

    Parameters

    • frames: number

    Returns Generator<any, void, unknown>

    Generator function

    Example

    function *myCoroutineFunction() {
    yield* WaitForFrames(10);
    }

Generated using TypeDoc