TMVar

io.github.timwspence.cats.stm.TMVarLike.TMVar
See theTMVar companion class
object TMVar

Attributes

Companion
class
Source
TMVar.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
TMVar.type

Members list

Value members

Concrete methods

def empty[A]: Txn[TMVar[A]]

Create a new empty TMVar.

Create a new empty TMVar.

Attributes

Source
TMVar.scala
def of[A](value: A): Txn[TMVar[A]]

Create a new TMVar, initialized with a value.

Create a new TMVar, initialized with a value.

Attributes

Source
TMVar.scala