SingletonReference

A reference that acts as a Singleton: calls a creator function the first time, and then always return the same instance.

Functions

Link copied to clipboard
open override fun <T : Any> make(creator: () -> T): Reference<T>

A Function that creates a reference.