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
191191
192192/* *
193193 * 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 ]).
195195 */
196196public suspend inline fun <R > currentScope (block : CoroutineScope .() -> R ): R =
197197 CoroutineScope (coroutineContext).block()
@@ -200,4 +200,4 @@ public suspend inline fun <R> currentScope(block: CoroutineScope.() -> R): R =
200200 * Creates [CoroutineScope] that wraps the given [coroutineContext].
201201 */
202202@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