• Yields the current thread until the next frame. Returns the delta time waited.

    Returns number

  • Yields the current thread for delayTime seconds. Returns the delta time waited.

    Parameters

    • delayTime: number

    Returns number