I hereby claim:
- I am rhocairn on github.
- I am gmaybrun (https://keybase.io/gmaybrun) on keybase.
- I have a public key ASApECVGhhCeThsEm7hJJvF2ntJpptP48Hs7Hiq4Awk28wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| var SimpleQueue = require('./simple_queue'); | |
| // Set up our SimpleQueue instance | |
| var queue = SimpleQueue(); | |
| queue.on(SimpleQueue.events.JobAdded, function(job) { | |
| console.log("A job was added:", job); | |
| }); | |
| queue.on(SimpleQueue.events.NoJobs, function() { | |
| console.log("Someone wanted to get a job, but none were in the queue"); | |
| }); |
| var http = require('http'); | |
| var requestDataString = ''; | |
| var requestOptions = { | |
| hostname: "127.0.0.1", | |
| port: 8888, | |
| path: "/", | |
| method: "GET" | |
| }; | |
| var req = http.request(requestOptions, function(res) { |