Transaction.Result

class Transaction.Result


Instances of this class represent the desired outcome of a single run of a Handler's doTransaction method. The options are:

  • Set the data to the new value (success)
  • abort the transaction
Instances are created using success or abort.

Summary

Public functions

Boolean

Public functions

isSuccess

fun isSuccess(): Boolean
Returns
Boolean

Whether or not this result is a success