requireContextualValRoot

fun requireContextualValRoot(scope: CoroutineScope)

Throws an exception if ContextualValRoot was not added to the CoroutineContext/CoroutineScope.