Optional
code?: numberOptional
descend?: booleaninterrupt child/descendant jobs
Optional
expire?: numberhow long to wait in seconds before fully expiring/removing the hash from Redis; the job is inactive, but can remain in the cache indefinitely;
Optional
reason?: stringoptional Reason; will be used as the error message
when thrown
Optional
stack?: stringOptional stack trace
Optional
suppress?: booleanif true, errors related to inactivation (like overage...already inactive) are suppressed/ignored
Optional
throw?: booleanthrow JobInterrupted error upon interrupting
Optional Error Code; will be used as the error
code
when thrown