GitHub repo
Transition promises will resolve when the camera slows to less than controls.restThreshold units in a single frame. You can set this value here
controls.restThreshold