SingletonHolder10

open class SingletonHolder10<R : Any, in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10>(creator: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) -> R) : InstanceHolder<R>

Create lazy singleton.

Since

1.4.0

See also

Constructors

Link copied to clipboard
constructor(creator: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) -> R)

Properties

Link copied to clipboard
@Volatile
var _instance: R?

Functions

Link copied to clipboard
protected inline fun getInstance(creator: () -> R): R
Link copied to clipboard
operator fun invoke(arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, arg7: T7, arg8: T8, arg9: T9, arg10: T10): R