Interface RxTransactionWork<T>

Type Parameters:
T - the return type of this work

@Deprecated public interface RxTransactionWork<T>
Callback that executes operations against a given RxTransaction. To be used with RxSession.readTransaction(RxTransactionWork) and RxSession.writeTransaction(RxTransactionWork) methods.
Since:
4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Executes all given operations against the same transaction.
  • Method Details

    • execute

      T execute(RxTransaction tx)
      Deprecated.
      Executes all given operations against the same transaction.
      Parameters:
      tx - the transaction to use.
      Returns:
      some result object or null if none.