Skip to content

Commit

Permalink
Restore a warning in the comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhalanskyjb committed May 28, 2024
1 parent 66b39fc commit 7e6814c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7e6814c

Please sign in to comment.