UnboundedScope

open class UnboundedScope(registry: ScopeRegistry) : Scope<Any?> , ScopeCloseable

Scope that is not bound to a context (always lives).

This is kind of equivalent to having no scope at all, except that you can call clear.

Constructors

UnboundedScope
Link copied to clipboard
common
fun UnboundedScope(registry: ScopeRegistry = StandardScopeRegistry())

Functions

close
Link copied to clipboard
common
open override fun close()
getRegistry
Link copied to clipboard
common
open override fun getRegistry(context: Any?): ScopeRegistry
Get a registry for a given context.

Properties

registry
Link copied to clipboard
common
val registry: ScopeRegistry