Last active
November 24, 2017 19:08
-
-
Save gngeorgiev/961be898b5f32ef88579fd4770fd5a22 to your computer and use it in GitHub Desktop.
sashido-parse-server-live-queries.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var query = new Parse.Query('Game'); | |
| var subscription = query.subscribe(); | |
| //more events are - open, update, enter, leave, delete, close | |
| subscription.on('create', (object) => { | |
| console.log('object created'); | |
| }); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment