Inngest · Concept
Backoff
Inngest retries failed work automatically and keeps completed step results. Use standard errors for temporary failures, NonRetriableError to stop retries, and RetryAfterError to set the next attempt time.
Last updated
Syntax
createFunction({ retries: number }, async ({ event, step }) => step.run("name", handler));
throw new NonRetriableError(message);
throw new RetryAfterError(message, delay);In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
NonRetriableErrorRetryAfterErrorStepErrorstep.run()idempotency keybackoff with jitter