Transaction Result
data class TransactionResult(val value: DatasyncValue, val hasCompleted: Boolean)
Content copied to clipboard
Represents the result of a transaction run by the DatasyncNode.runTransaction method.
Constructors
Properties
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.
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
.