File tree 4 files changed +9
-3
lines changed
common/kotlinx-coroutines-core-common/src
core/kotlinx-coroutines-core/src
js/kotlinx-coroutines-core-js/src
native/kotlinx-coroutines-core-native/src
4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 4
4
5
5
package kotlinx.coroutines
6
6
7
- /* * @suppress */
7
+ /* *
8
+ * A runnable task for [CoroutineDispatcher.dispatch].
9
+ */
8
10
public expect interface Runnable {
9
11
public fun run ()
10
12
}
11
13
14
+ /* *
15
+ * Creates [Runnable] task instance.
16
+ */
12
17
@Suppress(" FunctionName" )
13
18
public expect inline fun Runnable (crossinline block : () -> Unit ): Runnable
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ package kotlinx.coroutines
6
6
7
7
/* *
8
8
* A runnable task for [CoroutineDispatcher.dispatch].
9
- * @suppress
10
9
*/
11
10
public actual typealias Runnable = java.lang.Runnable
12
11
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ package kotlinx.coroutines
6
6
7
7
/* *
8
8
* A runnable task for [CoroutineDispatcher.dispatch].
9
- * @suppress
10
9
*/
11
10
public actual interface Runnable {
12
11
public actual fun run ()
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ public actual interface Runnable {
11
11
public actual fun run ()
12
12
}
13
13
14
+ /* *
15
+ * Creates [Runnable] task instance.
16
+ */
14
17
@Suppress(" FunctionName" )
15
18
public actual inline fun Runnable (crossinline block : () -> Unit ): Runnable =
16
19
object : Runnable {
You can’t perform that action at this time.
0 commit comments