(time: number)
| 529 | }; |
| 530 | |
| 531 | const doConfigUpdate = (time: number) => { |
| 532 | pendingPreviewConfigUpdate = { |
| 533 | config: getPreviewProjectConfig(project, editorState), |
| 534 | frameNumber: Math.max(Math.floor(time * FPS), 0), |
| 535 | resolutionBase: previewResolutionBase(), |
| 536 | }; |
| 537 | void flushPreviewConfigUpdate(); |
| 538 | }; |
| 539 | |
| 540 | const throttledConfigUpdate = throttle(doConfigUpdate, 1000 / FPS); |
| 541 | const trailingConfigUpdate = debounce(doConfigUpdate, 1000 / FPS + 16); |
nothing calls this directly
no test coverage detected