Skip to content

Retryable

Retryable<In, Candidate> = In & object

Defined in: packages/engine/src/lib/planner/stage.ts:173

A stage input that withRetry may annotate with feedback about the previous attempt. retry is absent on the first attempt.

readonly optional retry?: RetryFeedback<Candidate>

Feedback about the previous attempt; absent on the first attempt.

In

The input the stage receives on its first attempt.

Candidate extends ReplylessCandidate = PlannerCandidate

The candidate type RetryFeedback.previous carries: PlannerCandidate by default.