aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/Remote/FSTRemoteStore.h
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/Source/Remote/FSTRemoteStore.h')
-rw-r--r--Firestore/Source/Remote/FSTRemoteStore.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/Firestore/Source/Remote/FSTRemoteStore.h b/Firestore/Source/Remote/FSTRemoteStore.h
index 4ea9379..6f4d565 100644
--- a/Firestore/Source/Remote/FSTRemoteStore.h
+++ b/Firestore/Source/Remote/FSTRemoteStore.h
@@ -30,6 +30,7 @@
@class FSTQueryData;
@class FSTRemoteEvent;
@class FSTTransaction;
+@class FSTDispatchQueue;
NS_ASSUME_NONNULL_BEGIN
@@ -95,10 +96,11 @@ NS_ASSUME_NONNULL_BEGIN
*/
@interface FSTRemoteStore : NSObject
-+ (instancetype)remoteStoreWithLocalStore:(FSTLocalStore *)localStore
- datastore:(FSTDatastore *)datastore;
+- (instancetype)initWithLocalStore:(FSTLocalStore *)localStore
+ datastore:(FSTDatastore *)datastore
+ workerDispatchQueue:(FSTDispatchQueue *)queue;
-- (instancetype)init __attribute__((unavailable("Use static constructor method.")));
+- (instancetype)init NS_UNAVAILABLE;
@property(nonatomic, weak) id<FSTRemoteSyncer> syncEngine;