onDIContext

@Composable
inline fun <C : Any> onDIContext(context: C, crossinline content: @Composable () -> Unit)

Attaches a DI context to the underlying Composable tree

Parameters

context

the context value

content

underlying Composable tree that will be able to access this context