DeferredSource

trait DeferredSource[F[_], A]
Companion
object
class Object
trait Matchable
class Any
class Deferred[F, A]
class AsyncDeferred[F, A]

Value members

Abstract methods

def get: F[A]

Obtains the value of the Deferred, or waits until it has been completed. The returned value may be canceled.

Obtains the value of the Deferred, or waits until it has been completed. The returned value may be canceled.

def tryGet: F[Option[A]]

Obtains the current value of the Deferred, or None if it hasn't completed.

Obtains the current value of the Deferred, or None if it hasn't completed.