Skip to content

Commit

Permalink
Fix the API doc of launchIn operator (Kotlin#2893)
Browse files Browse the repository at this point in the history
  • Loading branch information
MasoodFallahpoor authored and pablobaxter committed Sep 14, 2022
1 parent fa9d4e7 commit f1eb70d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -44,7 +44,7 @@ public suspend fun Flow<*>.collect(): Unit = collect(NopCollector)
* .launchIn(uiScope)
* ```
*
* Note that resulting value of [launchIn] is not used the provided scope takes care of cancellation.
* Note that the resulting value of [launchIn] is not used and the provided scope takes care of cancellation.
*/
public fun <T> Flow<T>.launchIn(scope: CoroutineScope): Job = scope.launch {
collect() // tail-call
Expand Down

0 comments on commit f1eb70d

Please sign in to comment.