Weak Context Scope
open class WeakContextScope<in C>(newRepo: () -> ScopeRegistry) : Scope<C>
Content copied to clipboard
Scope that map scope registries associated to weak contexts.
In essence, the context is weak, and for a given context, its registry will be GC'd when it is itself GC'd.
Constructors
WeakContextScope
Link copied to clipboard
fun WeakContextScope(newRepo: () -> ScopeRegistry = { StandardScopeRegistry() })
Content copied to clipboard
Types
Of
Link copied to clipboard
Functions
getRegistry
Link copied to clipboard
Properties
Inheritors
WeakContextScope
Link copied to clipboard