WeakContextScope

open class WeakContextScope<in C>(val newRepo: () -> <Error class: unknown class> = { StandardScopeRegistry() })

Scope that map ScopeRegistry 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.

Inheritors

Constructors

Link copied to clipboard
constructor(newRepo: () -> <Error class: unknown class> = { StandardScopeRegistry() })

Types

Link copied to clipboard

Properties

Link copied to clipboard
val newRepo: () -> <Error class: unknown class>

Functions

Link copied to clipboard
open fun getRegistry(context: C): <Error class: unknown class>