Package io.objectbox

Interface TxCallback<T>

    • Method Detail

      • txFinished

        void txFinished​(@Nullable
                        T result,
                        @Nullable
                        java.lang.Throwable error)
        Called when an asynchronous transaction finished.
        Parameters:
        result - Result of the callable BoxStore.callInTxAsync(Callable, TxCallback)
        error - non-null if an exception was thrown