RefSink

cats.effect.kernel.RefSink
See theRefSink companion object
trait RefSink[F[_], A] extends Serializable

Attributes

Companion:
object
Source:
Ref.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
class Ref[F, A]

Members list

Concise view

Value members

Abstract methods

def set(a: A): F[Unit]

Sets the current value to a.

Sets the current value to a.

The returned action completes after the reference has been successfully set.

Satisfies: r.set(fa) *> r.get == fa

Attributes

Source:
Ref.scala