LazyDeferredImpl

internal class LazyDeferredImpl<T>(val action: suspend () -> T, val lock: Mutex) : LazyDeferred<T>

Constructors

Link copied to clipboard
fun <T> LazyDeferredImpl(action: suspend () -> T, lock: Mutex)

Functions

Link copied to clipboard
open suspend override fun await(): T

Properties

Link copied to clipboard
private var _completed: Boolean = false
Link copied to clipboard
private var _value: T? = null
Link copied to clipboard
private val action: suspend () -> T
Link copied to clipboard
open override val isCompleted: Boolean
Link copied to clipboard
private val lock: Mutex

Sources

Link copied to clipboard