import { Environment } from "./models/environment.js";
export class Application {
functions = [];
environment = new Environment();
async runAsync() {
for (let func of this.functions)
await func();
return this;
}
onRun(event) {
this.functions.push(event);
return this;
}
}