launchOnAttached

fun launchOnAttached(block: suspend Context.() -> Unit): Job

Launches a suspending block when the registry is attached

Return

The launched Job instance

Parameters

block

The block to execute.