stop

abstract fun stop(gracePeriodMillis: Long = 500, timeoutMillis: Long = 500)

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