Live Query basic monitoring (#4168)

* Adds uuid based client identification to prevent overflows

* no-super

* Adds cloud code monitoring

* fixes test

* nit
This commit is contained in:
Florent Vilmart
2017-09-15 17:20:51 -04:00
committed by GitHub
parent 7ecb36e71e
commit d0184f438d
5 changed files with 90 additions and 16 deletions

View File

@@ -55,6 +55,10 @@ ParseCloud.afterFind = function(parseClass, handler) {
triggers.addTrigger(triggers.Types.afterFind, className, handler, Parse.applicationId);
};
ParseCloud.onLiveQueryEvent = function(handler) {
triggers.addLiveQueryEventHandler(handler, Parse.applicationId);
};
ParseCloud._removeAllHooks = () => {
triggers._unregisterAll();
}