start

abstract fun start(wait: Boolean = false): ApplicationEngine

Starts this ApplicationEngine.

Return

returns this instance

Parameters

wait

if true, then the start call blocks a current thread until it finishes its execution. If you run start from the main thread with wait = false and nothing else blocking this thread, then your application will be terminated without handling any requests.