ktor-server-core / io.ktor.util / DispatcherWithShutdown / completeShutdown

completeShutdown

fun completeShutdown(): Unit

Complete shutdown. Any further attempts to dispatch anything will fail with RejectedExecutionException