A client app for reactive-demo
docker run -it runnable/reactive-client
git clone git@github.com:Runnable/reactive-client.gitcd reactive-clientnpm installnpm start
The function exported in index.js runs when our system receives a comment.
Do anything you want with it!
If you want to keep the same queue across restarts set the APP_NAME environment variable to something unique. All servers with APP_NAME will share the same queue.
NOTE: The function must return a promise.
index.js: contains function ran when system receives commentserver.js: entry point of this service. Creates and run worker server.