Instance Methodvapor 4.106.2Vapor

    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.

    Application.swift:185
    func execute() async throws

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

    Other members in extension

    Types

    Type members

    Instance members