Appearance
type BatchOutcome<T> = | { id: string; result: T; status: "completed"; } | { error: Error; id: string; status: "failed"; };
T = RunResult
T
RunResult