cats.effect.kernel.Deferred$.AsyncDeferred
Attributes
- Source:
- Deferred.scala
- Graph
- Supertypes
trait Serializable
class Object
trait Matchable
class Any
Members list
Concise view
Value members
If this Deferred
is empty, sets the current value to a
, and notifies any and all
readers currently blocked on a get
. Returns true.
If this Deferred
is empty, sets the current value to a
, and notifies any and all
readers currently blocked on a get
. Returns true.
If this Deferred
has already been completed, returns false.
Satisfies: Deferred[F, A].flatMap(r => r.complete(a) *> r.get) == a.pure[F]
Attributes
- Source:
- Deferred.scala
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.
Attributes
- Source:
- Deferred.scala
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.
Attributes
- Source:
- Deferred.scala
Modify the context F
using transformation f
.