Add task scheduler
This commit is contained in:
3
src/Action/Action.ts
Normal file
3
src/Action/Action.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export default abstract class Action {
|
||||
abstract async run();
|
||||
}
|
7
src/Action/GoToMainAction.ts
Normal file
7
src/Action/GoToMainAction.ts
Normal file
@ -0,0 +1,7 @@
|
||||
import Action from './Action';
|
||||
|
||||
export default class GoToMainAction extends Action {
|
||||
async run(): Promise<any> {
|
||||
return Promise.resolve(null);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user