Skip to content

Instance Method

execute()

Starts the Application asynchronous using the startup() method, then waits for any running tasks to complete. If your application is started without arguments, the default argument is used.
func execute() async throws

Discussion

Under normal circumstances, execute() runs until a shutdown is triggered, then wait for the web server to (manually) shut down before returning.