Hello, simple PR for two things:
- fix
lockKeyfield usage - prevouslylockKeywas field (used in tests) and method, now left only method - extracted
processOnNextTickmethod, for simplicty and better possibility to override in custom cases
In my project i need to stop processing job in custom case, so I can override processOnNextTick to do this. Same thing with isQueueClosing().
Changes do not affect logic, so could not cause problems.
Regards