notifyExhausted
notifyExhausted(
options): (job,error) =>Promise<void>
Defined in: packages/core/src/capture/build-state/notify-job.ts:83
For the queue’s onExhausted hook: a last attempt that lost its lease never ran its handler to
the end, so the failure is surfaced here (the hook may run on several instances; recording the
same error twice is harmless, the admin event may repeat).
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”(job, error) => Promise<void>