For my cordova app, I’m working on rebuilding the Coax.changes() functionality using the fetchjs library. I want the webview to be able to update accordingly when there are changes to couchbase lite. I prefer fetchjs because of promises, which is so much easier to follow than callbacks.
I see that the “feed” query param accepts:
normal, continuous, eventsource, longpoll
Can someone explain how these types of feeds work and how I can handle them with fetchjs?