1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/backend/model/memory/IndexingTaskManager.ts

22 lines
574 B
TypeScript
Raw Normal View History

2019-01-14 00:38:39 +08:00
import {IIndexingTaskManager} from '../interfaces/IIndexingTaskManager';
import {IndexingProgressDTO} from '../../../common/entities/settings/IndexingProgressDTO';
export class IndexingTaskManager implements IIndexingTaskManager {
startIndexing(): void {
throw new Error('not supported by memory DB');
}
getProgress(): IndexingProgressDTO {
throw new Error('not supported by memory DB');
}
cancelIndexing(): void {
throw new Error('not supported by memory DB');
}
reset(): Promise<void> {
throw new Error('Method not implemented.');
}
}