RefSource

cats.effect.kernel.RefSource
See theRefSource companion object
trait RefSource[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 get: F[A]

Obtains the current value.

Obtains the current value.

Since Ref is always guaranteed to have a value, the returned action completes immediately after being bound.

Attributes

Source:
Ref.scala