Skip to content

Commit

Permalink
Fix the API doc of launchIn operator (#2893)
Browse files Browse the repository at this point in the history
  • Loading branch information
MasoodFallahpoor committed Aug 24, 2021
1 parent 810f28f commit dbfb4ae
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 dbfb4ae

Please sign in to comment.