0.0.2 • Published 10 years ago
crowd-rest v0.0.2
crowd-rest
RESTful implementation of the client for Crowd that gets tasks, execute them and get to the next task.
Warning: this is very experimantal - in case you get it to work, you might feel "double rainbow all the way".
Usage
Ideally, one should be able to do so:
var worker = require('crowd-webworker')
var crowd = require('crowd-client')
var rest = require('crowd-rest')
crowd(opts)
.use(rest('http://127.0.0.1:1200/tasks'))
.pipe(worker())
That rest
bit, is what we focus on here.