Transaction.Function

public interface Transaction.Function<TResult>


An interface for providing code to be executed within a transaction context.

See also
runTransaction

Summary

Public methods

abstract @Nullable TResult
apply(@NonNull Transaction transaction)

Public methods

apply

abstract @Nullable TResult apply(@NonNull Transaction transaction)
Throws
com.google.firebase.firestore.FirebaseFirestoreException com.google.firebase.firestore.FirebaseFirestoreException