ApplyBuilders

cats.effect.kernel.Ref$.ApplyBuilders
final class ApplyBuilders[F[_]](val mk: Make[F]) extends AnyVal

Attributes

Source:
Ref.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def empty[A : Monoid]: F[Ref[F, A]]

Creates a thread-safe, concurrent mutable reference initialized to the empty value.

Creates a thread-safe, concurrent mutable reference initialized to the empty value.

Attributes

See also:
Source:
Ref.scala
def of[A](a: A): F[Ref[F, A]]

Creates a thread-safe, concurrent mutable reference initialized to the supplied value.

Creates a thread-safe, concurrent mutable reference initialized to the supplied value.

Attributes

See also:
Source:
Ref.scala

Concrete fields

val mk: Make[F]

Attributes

Source:
Ref.scala