File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
common/kotlinx-coroutines-core-common/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ public suspend fun <R> coroutineScope(block: suspend CoroutineScope.() -> R): R
191
191
192
192
/* *
193
193
* Provides [CoroutineScope] that is already present in the current [coroutineContext] to the given [block].
194
- * Note, this method doesn't wait for all launched children to complete (as opposed to [coroutineContext ]).
194
+ * Note, this method doesn't wait for all launched children to complete (as opposed to [coroutineScope ]).
195
195
*/
196
196
public suspend inline fun <R > currentScope (block : CoroutineScope .() -> R ): R =
197
197
CoroutineScope (coroutineContext).block()
@@ -200,4 +200,4 @@ public suspend inline fun <R> currentScope(block: CoroutineScope.() -> R): R =
200
200
* Creates [CoroutineScope] that wraps the given [coroutineContext].
201
201
*/
202
202
@Suppress(" FunctionName" )
203
- public fun CoroutineScope (context : CoroutineContext ): CoroutineScope = ContextScope (context)
203
+ public fun CoroutineScope (context : CoroutineContext ): CoroutineScope = ContextScope (context)
You can’t perform that action at this time.
0 commit comments