mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
13 lines
304 B
TypeScript
13 lines
304 B
TypeScript
import {TaskProgressDTO} from '../../../common/entities/settings/TaskProgressDTO';
|
|
import {TaskDTO} from '../../../common/entities/task/TaskDTO';
|
|
|
|
export interface ITask<T> extends TaskDTO {
|
|
Name: string;
|
|
Supported: boolean;
|
|
Progress: TaskProgressDTO;
|
|
|
|
start(config: T): void;
|
|
|
|
stop(): void;
|
|
}
|