• Wait for a number of seconds to pass.

    Parameters

    • seconds: number
    • context: Context = null

    Returns Generator<any, void, unknown>

    Generator function

    Example

    function *myCoroutineFunction() {
    yield* WaitForSeconds(1);
    }

Generated using TypeDoc