Skip to content

Commit 847e68e

Browse files
LouisCADelizarov
authored andcommitted
Mark operator invoke as experimental
1 parent 57540d4 commit 847e68e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ public suspend fun <T> withContext(
169169
*
170170
* This inline function calls [withContext].
171171
*/
172+
@ExperimentalCoroutinesApi
172173
public suspend inline fun <T> CoroutineDispatcher.invoke(
173174
noinline block: suspend CoroutineScope.() -> T
174175
): T = withContext(this, block)

0 commit comments

Comments
 (0)