create

fun create(lifecycle: Lifecycle): DispatchLifecycleScope

Creates a new DispatchLifecycleScope using coroutineContextFactory

Parameters

lifecycle

the lifecycle which will be bound to the DispatchLifecycleScope

Sources

Link copied to clipboard