T
- the return type of this work.AsyncTransactionCallback
.@Deprecated public interface AsyncTransactionWork<T>
AsyncTransaction
. To be used with AsyncSession.readTransactionAsync(AsyncTransactionWork)
and AsyncSession.writeTransactionAsync(AsyncTransactionWork)
(AsyncTransactionWork)} methods.Modifier and Type | Method and Description |
---|---|
T |
execute(AsyncTransaction tx)
Deprecated.
Executes all given operations against the same transaction.
|
T execute(AsyncTransaction tx)
tx
- the transaction to use.null
if none.