TxnVarOps
ai.entrolution.bengal.stm.syntax.all.`package`.TxnVarOps
Syntax for TxnVar with F-variant operations.
Attributes
- Source
- package.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Retrieves the current value within a transaction.
Modifies the value by applying a pure function.
Modifies the value by applying an effectful function.
Modifies the value by applying an effectful function. The function must not encapsulate side effects.
Attributes
- Source
- package.scala
Sets a new value within a transaction.
Sets a new value provided by an effect F[V].
Sets a new value provided by an effect F[V]. The effect must not encapsulate side effects.
Attributes
- Source
- package.scala
In this article