node-sidekiq icon indicating copy to clipboard operation
node-sidekiq copied to clipboard

Added jid to returned values

Open walerian777 opened this issue 9 years ago • 1 comments

I've found it useful to know jid of enqueued jobs.

Redis SADD and ZADD methods returns only a number of elements that were added to the set. That's the value which was returned in callback by enqueue method. It is still available in response, but now you can get jid besides that.

walerian777 avatar Jun 03 '16 09:06 walerian777

Hey @loopj, is there a possibility you will ever merge it? Or share some feedback? I'd really appreciate it!

walerian777 avatar Feb 18 '18 13:02 walerian777