TransactionOperation

sealed class TransactionOperation

Represents a write operation to perform on a data node within an atomic transaction.

See also

Types

Link copied to clipboard
object Abort : TransactionOperation

Operation of aborting the transaction.

Link copied to clipboard
object Companion

Provides some usual transaction functions for the DatasyncNode.runTransaction method.

Link copied to clipboard
object Remove : TransactionOperation

Operation of removing the data node value, equivalent to Set(null).

Link copied to clipboard
data class Set(val value: Any?) : TransactionOperation

Operation of setting a given value to the data node.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard