threadLocal

Thread Local Reference Maker.

Use this with refSingleton or refMultiton to bind a thread local singleton or multiton.

A thread local singleton is guaranteed to be unique inside a thread.

Functions

Link copied to clipboard
open fun <T : Any> make(creator: () -> T): <Error class: unknown class><T>