directRefs

cps.catsEffect.directRefs
opaque object directRefs

Attributes

Experimental
true
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
directRefs.type

Members list

Type members

Classlikes

object DirectRef

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
DirectRef.type

Types

opaque type DirectRef[F[_], T]

Extensions

Extensions

extension (io: IO.type)
def directRefOf[T](t: T)(using cpsDirect: Direct[IO]): DirectRef[IO, T]
extension [F[_], A](ref: DirectRef[F, A])
def get(using Direct[F]): A
def set(using Direct[F])(a: A): Unit
def update(using Direct[F])(f: A => A): Unit