Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import Container from './container';
export default class Kernel {
constructor(builder) {
this.container = new Container(builder);
}
/**
* Boot the kernel, load all services
*/
async boot() {
const bootP = this.container.boot();
return Promise.all(bootP);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment