attachToMainScope

fun LifecycleGraph.Root.attachToMainScope(): CancellationToken
fun LifecycleGraph.Root.attachToMainScope(unhandledExceptionHandler: (CoroutineContext, Throwable) -> Unit): CancellationToken