OnDIContext

inline fun OnDIContext(context: DIContext<*>, crossinline content: @Composable () -> Unit)

Attaches a DI context to the underlying Composable tree

Parameters

context

the DIContext representing the context type and value

content

underlying Composable tree that will be able to access this context