dev.tauri.choam.refs.Ref
See theRef companion object
A mutable memory location with a pure API and composable lock-free operations.
Ref
is similar to java.util.concurrent.atomic.AtomicReference or cats.effect.kernel.Ref, but its operations are Rxns. Thus, operations on a Ref
are composable with other Rxns.
Attributes
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- RefLike
- Source
- RefLike.scala
Returns previous value
Attributes
- Inherited from:
- RefLike
- Source
- RefLike.scala
Attributes
- Inherited from:
- RefLike
- Source
- RefLike.scala
Attributes
- Inherited from:
- RefLike
- Source
- RefLike.scala
Attributes
- Inherited from:
- RefLike
- Source
- RefLike.scala
Returns false
iff the update failed
Returns new value
Attributes
- Inherited from:
- RefLike
- Source
- RefLike.scala
In this article