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

12 lines
266 B
TypeScript
Raw Normal View History

2019-07-28 04:56:12 +08:00
import {TaskProgressDTO} from '../../../common/entities/settings/TaskProgressDTO';
2019-01-14 00:38:39 +08:00
export interface IIndexingTaskManager {
startIndexing(createThumbnails?: boolean): void;
2019-07-28 04:56:12 +08:00
getProgress(): TaskProgressDTO;
2019-01-14 00:38:39 +08:00
cancelIndexing(): void;
reset(): Promise<void>;
}