UnboundedScope

open class UnboundedScope(val registry: ScopeRegistry = StandardScopeRegistry()) : 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

Link copied to clipboard
constructor(registry: ScopeRegistry = StandardScopeRegistry())

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun getRegistry(context: Any?): ScopeRegistry

Get a registry for a given context. Should always return the same registry for the same context.