Skip to content

Latest commit

 

History

History
94 lines (51 loc) · 1.32 KB

File metadata and controls

94 lines (51 loc) · 1.32 KB

Home > @aws/durable-execution-sdk-js > BatchItem

BatchItem interface

Represents a single item in a batch result

Signature:

export interface BatchItem<TResult>

Properties

Property

Modifiers

Type

Description

error?

ChildContextError

(Optional) The error if the item failed (always ChildContextError since batch items run in child contexts)

index

number

Index of the item in the original array

result?

TResult

(Optional) The result value if the item succeeded

status

BatchItemStatus

Status of the item execution