simple _change(event) feed listener for Sync Gateway
This script is a simple example of how to get a continuous data feed from Sync Gateway like IMAGE BELOW.
For a complete list of options to the _changes api go to: https://developer.couchbase.com/documentation/mobile/current/references/sync-gateway/rest-api/index.html#/database