---
title: "shutdown"
sidebar_label: "shutdown"
description: "Kotlin binding reference: shutdown."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Executor](index.md)/[shutdown](shutdown.md)

# shutdown

[common]\
fun [shutdown](shutdown.md)()

Drain in-flight work and stop; every accepted session completes and [await](await.md) still answers it.