DataSourceImpl

Constructors

Link copied to clipboard
constructor(priority: LazySet.DataSource.Priority, lazyDeferred: LazyDeferred<Set<E>>)

Properties

Link copied to clipboard
open override val isCompleted: Boolean
Link copied to clipboard
Link copied to clipboard

The priority which should be applied to this source while in a LazySet. Higher priority sources are invoked first.

Functions

Link copied to clipboard
Link copied to clipboard
open suspend override fun await(): Set<E>
Link copied to clipboard
open operator override fun compareTo(other: LazySet.DataSource<*>): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open suspend override fun get(): Set<E>

Called to retrieve this source's data. Implementations are thread-safe and lazy.

Link copied to clipboard
open override fun getCompleted(): Set<E>

Immediately returns the deferred value if already completed.

Link copied to clipboard
open override fun hashCode(): Int