KoinScope

@Composable
fun KoinScope(getScope: Koin.() -> Scope, content: @Composable () -> Unit)

Composable wrapper for Scope. Nesting this function adds parent scope with Scope.linkTo

Parameters

getScope

function to get or create Scope using current Koin as receiver

content

Composable content, Scope is set within it