Closed holgersindbaek closed 9 years ago
Yes, please checkout SSE and use rest-firebase for accessing firebase.
Thanks for the quick response. I don't see where it listens for "child_added" though?
Whenever it happens, it would call your onmessage
callback.
es.onmessage{ |event, data, sock| p event, data } # Called for each message
I don't really remember what the event would be, maybe put
. Any event for the particular node would be notified.
Oh, cool. I'll check it out. Thanks again.
Is it possible for me to listen for when a child is added in my firebase with this library? If so, how would you do it?