zio.Ref$
See theRef companion class
Attributes
Members list
Concise view
Type members
Classlikes
A Ref.Synchronized
is a purely functional description of a mutable
reference. The fundamental operations of a Ref.Synchronized
are set
and
get
. set
sets the reference to a new value. get
gets the current
value of the reference.
A Ref.Synchronized
is a purely functional description of a mutable
reference. The fundamental operations of a Ref.Synchronized
are set
and
get
. set
sets the reference to a new value. get
gets the current
value of the reference.
Unlike an ordinary Ref
, a Ref.Synchronized
allows performing effects
within update operations, at some cost to performance. Writes will
semantically block other writers, while multiple readers can read
simultaneously.
Attributes
- Companion:
- object
- Graph
- Supertypes
object Synchronized
Attributes
- Companion:
- class
- Graph
- Supertypes
- Self type
- Synchronized.type