stop

open fun stop(
    gracePeriodMillis: Long,
    timeoutMillis: Long
): Unit

Overrides ApplicationEngine.stop

Stops this ApplicationEngine

Parameters

gracePeriodMillis - the maximum amount of time for activity to cool down

timeoutMillis - the maximum amount of time to wait until server stops gracefully