Commit Graph
14 Commits
Author SHA1 Message Date
Andy 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Christian D c707391f99 [kue] added overloaded shutdown function (#18800)
* added overloaded shutdown

https://github.com/Automattic/kue/blob/master/lib/kue.js#L366

* Update index.d.ts
2017-08-14 11:41:55 -07:00
amiram 4b4941bac5 Fix process callback signature 2017-06-21 22:54:21 +03:00
Mine Starks 76fb0d3cf6 Merge pull request #17182 from amiram/kue-process
Kue process - add option to call it with a type and a callback
2017-06-19 11:31:38 -07:00
amiram 7b23bb554f add get job callback definition
https://github.com/Automattic/kue/blob/master/lib/queue/job.js#L161
2017-06-18 12:24:40 +03:00
amiram ccdd34441d add created_at 2017-06-18 10:38:46 +03:00
amiram 3db1d4c9b4 add result to job and process done callback.
https://github.com/Automattic/kue/blob/master/lib/queue/job.js#L205
https://github.com/Automattic/kue/blob/master/lib/queue/worker.js#L181
2017-06-18 09:57:00 +03:00
amiram 61a9bd3f85 add author 2017-06-14 16:58:53 +03:00
amiram 779dcecfa7 add option to call process with type and callback only 2017-06-14 16:55:16 +03:00
Christian 9f15944c5d Add "events" function to Job class for kue 2017-06-04 11:44:25 +02:00
Ahto Jussila f07524f928 Fix wrong signature for Kue testMode.enter().
The function look like this
module.exports.enter = function(process) {
  processQueue         = process || false;
  Job.prototype.save   = testJobSave;
  Job.prototype.update = testJobUpdate;
};
2017-05-15 16:00:06 +03:00
David Poetzsch-Heffter e2f6325d6b fixed version number 2017-04-10 12:50:03 +02:00
David Poetzsch-Heffter 0ea3339d8f fixed returns 2017-04-10 12:40:52 +02:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00