diff --git a/kotlinx-coroutines-core/common/src/CloseableCoroutineDispatcher.kt b/kotlinx-coroutines-core/common/src/CloseableCoroutineDispatcher.kt index 2813423675..cc56121f02 100644 --- a/kotlinx-coroutines-core/common/src/CloseableCoroutineDispatcher.kt +++ b/kotlinx-coroutines-core/common/src/CloseableCoroutineDispatcher.kt @@ -6,6 +6,9 @@ package kotlinx.coroutines * associated with the current dispatcher. * Examples of closeable dispatchers are dispatchers backed by `java.lang.Executor` and * by `kotlin.native.Worker`. + * + * **The `CloseableCoroutineDispatcher` class is not stable for inheritance in 3rd party libraries**, as new methods + * might be added to this interface in the future, but is stable for use. */ @ExperimentalCoroutinesApi public expect abstract class CloseableCoroutineDispatcher() : CoroutineDispatcher, AutoCloseable {