io.github.timwspence.cats.stm.TMVarLike.TMVar
See theTMVar companion object
Attributes
- Companion:
- object
- Source:
- TMVar.scala
- Graph
- Supertypes
Members list
Concise view
Value members
Concrete methods
Check if currently empty.
Store a value. Retries if the TMVar
already
contains a value.
Read the current value. Retries if empty.
Read the current value and empty it at the same time. Retries if empty.
Read the current value and empty it at the same time. Retries if empty.
Attributes
- Source:
- TMVar.scala
Try to store a value. Returns false
if put failed,
true
otherwise.
Try to read the current value. Returns None
if
empty, Some(current)
otherwise.
Try to read the current value. Returns None
if
empty, Some(current)
otherwise.
Attributes
- Source:
- TMVar.scala
Try to take the current value. Returns None
if
empty, Some(current)
otherwise.
Try to take the current value. Returns None
if
empty, Some(current)
otherwise.
Attributes
- Source:
- TMVar.scala