Skip to content

@grabm/abm/experiments / Type Alias: BatchOutcome<T> ​

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

Type Parameters ​

T ​

T = RunResult

Documentation for the grABM library.