attach

fun attach(scope: CoroutineScope): CancellationToken

Attach this lifecycle instance to a coroutine scope the method has been called in.

Throws

If already attached.