Skip to content
Français

TaskResultSelection

  • selectRequired
    (result: Result) => Output | Promise<Output>
    Project the completed dispatch result into the task output after usage accounting. Return lossless JSON for checkpointed workflows. This does not enable caching or change sandbox ownership.
export interface TaskResultSelection<Result, Output> {
  select(result: Result): Output | Promise<Output>;
}