Transaction Result
data class TransactionResult(value: DatasyncValue, hasCompleted: Boolean)
Content copied to clipboard
Represents the result of a transaction run by the DatasyncNode.runTransaction method.
Constructors
TransactionResult
Link copied to clipboard
Properties
hasCompleted
Link copied to clipboard
Indicates whether the transaction was completed (true
) or aborted (false
). Aborted means the transaction function passed to DatasyncNode.runTransaction either returned Abort or has been attempted too many times on the Webcom back end without success.
value
Link copied to clipboard
The value actually set to the data node if the transaction was properly completed (i.e. hasCompleted is true
). It is meaningless if hasCompleted is false
.