`Flow<T>.launchNowIn(scope: CoroutineScope, context: CoroutineContext)`, `Flow<T>.launchIn(scope: CoroutineScope, context: CoroutineContext, start: CoroutineStart)`
Open
documentation
enhancement
good first issue
help wanted
PRs-are-welcome
- Dominant language
- Kotlin
- Stars
- 419
- Forks
- 27
- Avg merge
- 17m
- Merged PRs (30d)
- 1
Description
Ref: https://github.com/JetBrains/intellij-community/blob/b7c6890aa5c2e526791c082b82c755f71276f1fd/platform/collaboration-tools/src/com/intellij/collaboration/async/CoroutineUtil.kt#L71C1-L77C4
```kotlin
/**
* Similar to [launchIn], but starts the collection with [CoroutineStart.UNDISPATCHED] and allows overriding context
*/
fun Flow.launchNowIn(scope: CoroutineScope, context: CoroutineContext = EmptyCoroutineContext): Job =
scope.launch(context, CoroutineStart.UNDISPATCHED) {
collect()
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.