mreinstein / node-gearman

⚙ Gearman client and worker for node
75 stars 13 forks source link

documentation on how to use the library #3

Closed mreinstein closed 10 years ago

mreinstein commented 12 years ago

practically useless without docs.

mreinstein commented 12 years ago

client functions

submitJob 'weee func', 'hehehehe my data' getJobStatus 'H:mike:1' setOption()

worker functions

addFunction 'wizzleWazzleyyy' addFunction 'fantasmagoric3', 2000 removeFunction 'wizzleWazzleyyy' resetAbilities() preSleep() grabJob() grabUniqueJob() sendWorkComplete handle, data sendWorkData handle, data sendWorkException handle, exception sendWorkWarning handle, data sendWorkStatus handle, num, denom sendWorkFail handle setWorkerId id