core / pragma.jobs / BackgroundManager / shutdown /

shutdown #

abstract suspend fun shutdown()

Shuts down this BackgroundManager. kotlin.coroutines.cancellation.CancellationException will be thrown on all children or active blocks of this BackgroundManager. This also will stop functors executed by runForever.