LazySuspend

class LazySuspend<T>(initializer: suspend () -> T)

https://github.com/Kotlin/kotlinx.coroutines/issues/706

Constructors

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

Properties

Link copied to clipboard
private var _value: T?
Link copied to clipboard
private var initializer: suspend () -> T?
Link copied to clipboard
private var mutex: Mutex?

Functions

Link copied to clipboard
suspend fun value(): T