stopSuspend

open suspend fun stopSuspend(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 a server stops gracefully