launchOnStart

fun <T> Flow<T>.launchOnStart(): Job

Every time the View Lifecycle State reaches STARTED, create a new coroutine and collect this Flow.

See also

kotlinx.coroutines.flow.launchIn

Sources

Link copied to clipboard