node-sidekiq
node-sidekiq copied to clipboard
Added jid to returned values
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.
Hey @loopj, is there a possibility you will ever merge it? Or share some feedback? I'd really appreciate it!