Skip to content

Latest commit

 

History

History
94 lines (51 loc) · 1.44 KB

File metadata and controls

94 lines (51 loc) · 1.44 KB

Home > @aws/durable-execution-sdk-js-testing > Invocation

Invocation interface

Tracks a single invocation of the durable function handler. Contains timing information, request ID, and any errors that occurred.

Signature:

export interface Invocation

Properties

Property

Modifiers

Type

Description

endTimestamp

Date | undefined

The timestamp when the handler invocation ended

error

TestResultError | undefined

Error information if the invocation failed

requestId

string | undefined

The AWS request ID for this invocation

startTimestamp

Date | undefined

The timestamp when the handler invocation started