Skip to content

Deprecate RunTransaction which takes a TransactionFunction. #512

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 12, 2021
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion firestore/src/include/firebase/firestore.h
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,14 @@ class Firestore {
* transaction is valid as long as the Future has not yet completed.)
*
* @return A Future that will be resolved when the transaction finishes.
*
* @deprecated This method was originally added to support the STLPort C++
* runtime on Android. Firebase support for STLPort has been removed, and
* consequently this method is deprecated and will be removed in a future
* release.
*/
virtual Future<void> RunTransaction(TransactionFunction* update);
FIREBASE_DEPRECATED virtual Future<void> RunTransaction(
TransactionFunction* update);

/**
* Sets the log verbosity of all Firestore instances.
Expand Down