MVar

zio.concurrent.MVar
See theMVar companion class
object MVar

Attributes

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

Members list

Value members

Concrete methods

def empty[A]: UIO[MVar[A]]

Creates an MVar which is initially empty

Creates an MVar which is initially empty

Attributes

Source
MVar.scala
def make[A](a: A): UIO[MVar[A]]

Create an MVar which contains the supplied value

Create an MVar which contains the supplied value

Attributes

Source
MVar.scala