ai.entrolution.bengal.stm.syntax.all.`package`.TxnOps
implicit class TxnOps[
F[
_],
V](
txn:
=> Txn[
V])(
implicit evidence$1:
STM[
F])
Syntax for Txn with commit, error handling, and F-variant error recovery.
Attributes
-
Source
-
package.scala
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
Members list
Commits the transaction, executing it against the STM runtime and lifting the result into F.
Commits the transaction, executing it against the STM runtime and lifting the result into F.
Attributes
-
Source
-
package.scala
Recovers from transaction errors/aborts by mapping the throwable to a fallback transaction.
Recovers from transaction errors/aborts by mapping the throwable to a fallback transaction.
Attributes
-
Source
-
package.scala
Recovers from transaction errors/aborts via an effectful handler.
Recovers from transaction errors/aborts via an effectful handler. The effect must not encapsulate side effects.
Attributes
-
Source
-
package.scala