close

expect abstract fun close()(source)

Initiate the closing sequence of the coroutine dispatcher. After a successful call to close, no new tasks will be accepted to be dispatched. The previously-submitted tasks will still be run, but close is not guaranteed to wait for them to finish.

Invocations of close are idempotent and thread-safe.

actual abstract fun close()(source)
actual abstract fun close()(source)