closeExecution

expect fun closeExecution()

Blocks (on the JVM) until the thread pools backing createScope/backgroundScope have finished executing every pending coroutine, then shuts them down. Called once at the end of ConcurrentResolutionHandle.terminateResolution, after a resolution's solution limit has been reached, to make sure no orphaned coroutine keeps running (or holding threads) past that point.

On Kotlin/JS this is currently unimplemented (TODO, throws NotImplementedError).

Throws

on the current Kotlin/JS target.

actual fun closeExecution()

Blocks (on the JVM) until the thread pools backing createScope/backgroundScope have finished executing every pending coroutine, then shuts them down. Called once at the end of ConcurrentResolutionHandle.terminateResolution, after a resolution's solution limit has been reached, to make sure no orphaned coroutine keeps running (or holding threads) past that point.

On Kotlin/JS this is currently unimplemented (TODO, throws NotImplementedError).

Throws

on the current Kotlin/JS target.

actual fun closeExecution()

Blocks (on the JVM) until the thread pools backing createScope/backgroundScope have finished executing every pending coroutine, then shuts them down. Called once at the end of ConcurrentResolutionHandle.terminateResolution, after a resolution's solution limit has been reached, to make sure no orphaned coroutine keeps running (or holding threads) past that point.

On Kotlin/JS this is currently unimplemented (TODO, throws NotImplementedError).

Throws

on the current Kotlin/JS target.