DeferredSource

trait DeferredSource[F[_], A] extends Serializable
Companion:
object
Source:
Deferred.scala
trait Serializable
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.

Source:
Deferred.scala
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.

Source:
Deferred.scala