diff options
Diffstat (limited to 'Firestore/Source/Util/FSTAsyncQueryListener.h')
-rw-r--r-- | Firestore/Source/Util/FSTAsyncQueryListener.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Firestore/Source/Util/FSTAsyncQueryListener.h b/Firestore/Source/Util/FSTAsyncQueryListener.h index 4888268..06471d8 100644 --- a/Firestore/Source/Util/FSTAsyncQueryListener.h +++ b/Firestore/Source/Util/FSTAsyncQueryListener.h @@ -18,6 +18,8 @@ #import "Firestore/Source/Core/FSTViewSnapshot.h" +#include "Firestore/core/src/firebase/firestore/util/executor.h" + NS_ASSUME_NONNULL_BEGIN @class FSTDispatchQueue; @@ -28,9 +30,8 @@ NS_ASSUME_NONNULL_BEGIN */ @interface FSTAsyncQueryListener : NSObject -- (instancetype)initWithDispatchQueue:(FSTDispatchQueue *)dispatchQueue - snapshotHandler:(FSTViewSnapshotHandler)snapshotHandler - NS_DESIGNATED_INITIALIZER; +- (instancetype)initWithExecutor:(firebase::firestore::util::internal::Executor*)executor + snapshotHandler:(FSTViewSnapshotHandler)snapshotHandler NS_DESIGNATED_INITIALIZER; - (instancetype)init NS_UNAVAILABLE; |