Skip to content

Instantly share code, notes, and snippets.

@chebert
Created October 13, 2013 19:18
Show Gist options
  • Select an option

  • Save chebert/6966302 to your computer and use it in GitHub Desktop.

Select an option

Save chebert/6966302 to your computer and use it in GitHub Desktop.
table not receiving updates
var authenticationToken = "thisisasupercutelittletokenfortestingandsuch";
Realtime.Storage.create({
applicationKey: "jpj5BT",
authenticationToken: authenticationToken,
isSecure: true,
}, onSuccess, errorFunc);
function onSuccess(storageRef) {
storageRef.table('chat_messages').on('update', 'Lgq4I3Pzjjk7T3nX', console.error.bind(console), console.error.bind(console));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment