start #
Available since 2.8.0
This method starts the application.
Once the promise returned by this method resolved, the application is in the running
phase.
start(): Promise<void>
Returns #
Returns a Promise resolving when the application is running.
Usage #
try {
await app.start()
// Application is now in "running" phase
}
catch (error) {
console.log(error)
}
Edit this page on Github(opens new window)