T
- the return type of this work.public interface RxTransactionWork<T>
RxTransaction
.
To be used with RxSession.readTransaction(RxTransactionWork)
and
RxSession.writeTransaction(RxTransactionWork)
methods.Modifier and Type | Method and Description |
---|---|
T |
execute(RxTransaction tx)
Executes all given operations against the same transaction.
|
T execute(RxTransaction tx)
tx
- the transaction to use.null
if none.Copyright © 2020. All rights reserved.