UNPKG

@speckle/objectloader2

Version:

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

13 lines 490 B
import { Item } from '../../types/types.js'; import { Database } from '../interfaces.js'; import { MemoryDatabaseOptions } from '../options.js'; export declare class MemoryDatabase implements Database { private items; constructor(options?: MemoryDatabaseOptions); getAll(keys: string[]): Promise<(Item | undefined)[]>; cacheSaveBatch({ batch }: { batch: Item[]; }): Promise<void>; disposeAsync(): Promise<void>; } //# sourceMappingURL=memoryDatabase.d.ts.map