Add task scheduler

This commit is contained in:
2020-03-29 10:49:15 +03:00
commit 5c69dd6a90
21 changed files with 6881 additions and 0 deletions

3
src/Action/Action.ts Normal file
View File

@ -0,0 +1,3 @@
export default abstract class Action {
abstract async run();
}

View File

@ -0,0 +1,7 @@
import Action from './Action';
export default class GoToMainAction extends Action {
async run(): Promise<any> {
return Promise.resolve(null);
}
}