Home > @aws/durable-execution-sdk-js > BatchItem
Represents a single item in a batch result
Signature:
export interface BatchItem<TResult>|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(Optional) The error if the item failed (always ChildContextError since batch items run in child contexts) | |||
|
number |
Index of the item in the original array | ||
|
TResult |
(Optional) The result value if the item succeeded | ||
|
Status of the item execution |