0.0.2 • Published 10 years ago

crowd-client v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

crowd-client

Generic 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/task'))
  .pipe(worker())

What happens in the worker is that the task function is retrieved from the crowd-client, evaluated and executed.

0.0.2

10 years ago

0.0.1

10 years ago