cats.effect.kernel.DeferredSink
See theDeferredSink companion object Attributes
- Companion:
- object
- Source:
- Deferred.scala
- Graph
- Supertypes
trait Serializable
class Object
trait Matchable
class Any
- Known subtypes
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