1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/backend/model/interfaces/IIndexingTaskManager.ts
2019-01-13 17:38:39 +01:00

12 lines
278 B
TypeScript

import {IndexingProgressDTO} from '../../../common/entities/settings/IndexingProgressDTO';
export interface IIndexingTaskManager {
startIndexing(createThumbnails?: boolean): void;
getProgress(): IndexingProgressDTO;
cancelIndexing(): void;
reset(): Promise<void>;
}