Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Atomically.type
Members list
Type members
Classlikes
TLDR : Transaction(commit/rollback) -> Savepoint(commit/rollback) -> Savepoint(commit/rollback) -> ...
TLDR : Transaction(commit/rollback) -> Savepoint(commit/rollback) -> Savepoint(commit/rollback) -> ...
When executed outside any other atomically
blocks, this will execute the provided effect within a transaction, and if it succeeds, commit, and if it fails, roll back.
When executed within another atomically
block or blocks (multiple levels deep), this will execute the provided effect within a savepoint, and if it success, releases the savepoint, and if it fails, roll back the savepoint.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Atomicallytrait Impltrait ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Atomicallytrait Impltrait ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]class Objecttrait Matchableclass AnyShow all
TLDR : Transaction(always rollback) -> Savepoint(commit/rollback) -> Savepoint(commit/rollback) -> ...
TLDR : Transaction(always rollback) -> Savepoint(commit/rollback) -> Savepoint(commit/rollback) -> ...
When executed outside any other atomically
blocks, this will execute the provided effect within a transaction, and no matter the result, will roll back the transaction. Useful for testing.
When executed within another atomically
block or blocks (multiple levels deep), this will execute the provided effect within a savepoint, and if it success, releases the savepoint, and if it fails, roll back the savepoint.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Atomicallytrait Impltrait ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RollbackDB.type