ParameterizedLazy

class ParameterizedLazy<T, R>(initializer: suspend (T) -> R) : SuspendFunction1<T, R>

Constructors

Link copied to clipboard
constructor(initializer: suspend (T) -> R)

Functions

Link copied to clipboard
open suspend operator override fun invoke(param: T): R

Provides either an existing R object or creates a new one using initializer function.