• Fire a callback when the script animation reaches a new frame. Returns a promise which resolves after callback (which may be async) completes.

    Parameters

    • callback: (() => unknown)
        • (): unknown
        • Returns unknown

    Returns Promise<void>

Generated using TypeDoc