Skip to content

Commit 2b69b26

Browse files
committed
Support Parse.EventuallyQueue setting and getting using CoreManager.
1 parent ab237a2 commit 2b69b26

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/Parse.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ const Parse: ParseType = {
120120
CoreManager: CoreManager,
121121
Config: Config,
122122
Error: ParseError,
123-
EventuallyQueue: EventuallyQueue,
124123
FacebookUtils: FacebookUtils,
125124
File: File,
126125
GeoPoint: GeoPoint,
@@ -151,6 +150,18 @@ const Parse: ParseType = {
151150
Hooks: undefined,
152151
Parse: undefined,
153152

153+
/**
154+
* @member {EventuallyQueue} Parse.EventuallyQueue
155+
* @static
156+
*/
157+
set EventuallyQueue(queue: EventuallyQueue) {
158+
CoreManager.setEventuallyQueue(queue);
159+
},
160+
161+
get EventuallyQueue() {
162+
return CoreManager.getEventuallyQueue();
163+
},
164+
154165
/**
155166
* Call this method first to set up your authentication tokens for Parse.
156167
*

0 commit comments

Comments
 (0)