Skip to content

Commit d1129b2

Browse files
committed
Removed doc suppress from Runnable interface
1 parent e202f7e commit d1129b2

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

common/kotlinx-coroutines-core-common/src/Runnable.common.kt

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@
44

55
package kotlinx.coroutines
66

7-
/** @suppress */
7+
/**
8+
* A runnable task for [CoroutineDispatcher.dispatch].
9+
*/
810
public expect interface Runnable {
911
public fun run()
1012
}
1113

14+
/**
15+
* Creates [Runnable] task instance.
16+
*/
1217
@Suppress("FunctionName")
1318
public expect inline fun Runnable(crossinline block: () -> Unit): Runnable

core/kotlinx-coroutines-core/src/Runnable.kt

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package kotlinx.coroutines
66

77
/**
88
* A runnable task for [CoroutineDispatcher.dispatch].
9-
* @suppress
109
*/
1110
public actual typealias Runnable = java.lang.Runnable
1211

js/kotlinx-coroutines-core-js/src/Runnable.kt

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package kotlinx.coroutines
66

77
/**
88
* A runnable task for [CoroutineDispatcher.dispatch].
9-
* @suppress
109
*/
1110
public actual interface Runnable {
1211
public actual fun run()

native/kotlinx-coroutines-core-native/src/Runnable.kt

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ public actual interface Runnable {
1111
public actual fun run()
1212
}
1313

14+
/**
15+
* Creates [Runnable] task instance.
16+
*/
1417
@Suppress("FunctionName")
1518
public actual inline fun Runnable(crossinline block: () -> Unit): Runnable =
1619
object : Runnable {

0 commit comments

Comments
 (0)