LazyDeferredImpl
internal class LazyDeferredImpl<T>(val action: suspend () -> T, val lock: Mutex) : LazyDeferred<T> (source)
Functions
Link copied to clipboard
fun <E> LazyDeferred<Set<E>>.asDataSource(priority: LazySet.DataSource.Priority = MEDIUM): LazySet.DataSource<E>
Link copied to clipboard
Immediately returns the deferred value if already completed.