MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / yieldToPaint

Function yieldToPaint

src/hooks/fileDropzoneLocalSources.ts:80–82  ·  view source on GitHub ↗
(deps: Pick<LocalSourceBaseDeps, 'waitForPaint'>)

Source from the content-addressed store, hash-verified

78}
79
80async function yieldToPaint(deps: Pick<LocalSourceBaseDeps, 'waitForPaint'>): Promise<void> {
81 await (deps.waitForPaint ?? waitForBrowserPaint)();
82}
83
84function commitLocalSceneSource(deps: Pick<LocalSourceBaseDeps, 'clearCaches' | 'setSourceInfo'>): void {
85 deps.clearCaches();

Callers 3

loadLocalZipFileFunction · 0.85
loadDropPayloadFunction · 0.85
loadBrowsedDirectoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected