Hyperlinkv0.9.0-beta.0

WorkPool

WorkPool.QueueFailureDispositiontypesrc/internal/workPool.ts:1066
QueueFailureDisposition

Per-error disposition returned by WorkPoolConfigWithoutItemSchema.onFailure.

  • "retry" — re-enqueue the item at its own priority, honoring the attempts budget (emits RetryScheduled, or RetryExhausted once the budget is spent).
  • "deadLetter" — emit a DeadLettered event; do not re-enqueue.
  • "drop" — emit a Dropped event; do not re-enqueue.
  • "default" — fall back to the queue's policy (auto re-enqueue when attempts is set, otherwise log a warning).
modelsWorkPoolConfigWithoutItemSchema.onFailure
export type QueueFailureDisposition = "retry" | "deadLetter" | "drop" | "default";
Referenced by 1 symbols