launchOnCreate

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

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

See also

kotlinx.coroutines.flow.launchIn

Sources

Link copied to clipboard