Example using the `/r/event/stream` API


  1. Populate /examples/config.json with the proper values before running.
  2. Open the browser's debug window to view print logs for this example.
  3. Execute an RScript using this session or a diffrent one authenticated as this same user. You will see execution events being printed. For example, try running `/examples/js-api/script-auth.js` or an RScript from within the repository manager.