fast-mesh-wasm
    Preparing search index...

    Interface AttachTransformControlsOptions

    interface AttachTransformControlsOptions {
        schedule?: (callback: () => void) => void;
    }
    Index
    schedule?: (callback: () => void) => void

    Schedules a callback for the next animation frame. Defaults to requestAnimationFrame (or a 16 ms timeout where there is none). Tests can collect the callbacks and run them by hand.

    With the default, the move may run after the app's commitFrame() in the same frame, so the scene (fields, sections) shows it a frame late. To avoid that lag, pass a scheduler that queues the callback and drain the queue right before calling commitFrame().