Single Item Scope Registry
ScopeRegistry that is specialized to hold only one item.
If the key changes, the held item will be replaced.
Constructors
SingleItemScopeRegistry
Link copied to clipboard
fun SingleItemScopeRegistry()
Content copied to clipboard
Functions
getOrCreate
Link copied to clipboard
open override fun getOrCreate(key: RegKey, sync: Boolean, creator: () -> Reference<Any>): Any
Content copied to clipboard