UNPKG

@speckle/objectloader2

Version:

This is an updated objectloader for the Speckle viewer written in typescript

16 lines 559 B
import Queue from '../../helpers/queue.js'; import { Base, Item } from '../../types/types.js'; import { Downloader } from '../interfaces.js'; export declare class MemoryDownloader implements Downloader { #private; constructor(rootId: string, items: Map<string, Base>); initializePool(params: { results: Queue<Item>; total: number; maxDownloadBatchWait?: number; }): void; downloadSingle(): Promise<Item>; disposeAsync(): Promise<void>; add(id: string): void; } //# sourceMappingURL=memoryDownloader.d.ts.map