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-07-27 22:56:12 +02:00

12 lines
266 B
TypeScript

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