Skip to content

v2.1.0 worker#performInline

Compare
Choose a tag to compare
@evantahler evantahler released this 18 Jul 18:28
· 1031 commits to main since this release

worker#performInline

DO NOT USE THIS IN PRODUCTION. In tests or special cases, you may want to process/work a job in-line. To do so, you can use worker.performInline(jobName, arguments, callback). If you are planning on running a job via #performInline, this worker should also not be started, nor should be using event emitters to monitor this worker. This method will also not write to redis at all, including logging errors, modify resque's stats, etc.