Skip to content

PipelineOutput

PipelineOutput<Out> = [Out] extends [PlannerCandidate] ? PlannerCandidate : [Out] extends [ReplylessCandidate] ? ReplylessCandidate : PlannerOutput

Defined in: packages/engine/src/lib/planner/candidate.ts:72

The narrowest of PlannerCandidate, ReplylessCandidate and PlannerOutput that contains Out. pipeline types the planner it builds with it, so a pipeline whose last stage returns strict candidates is a plain Planner.

Out extends PlannerOutput

What the last stage of a planner produces.