durable-execution-sdk-js-testing.testresult.getresult.md

December 2, 2025 ยท View on GitHub

Home > @aws/durable-execution-sdk-js-testing > TestResult > getResult

TestResult.getResult() method

Gets the final result of the durable execution.

Signature:

getResult(): TResult | undefined;

Returns:

TResult | undefined

The execution result, or undefined if not available

Exceptions

Will throw the execution error if the execution failed

Contents

  1. 1TestResult.getResult() method
  2. 2Exceptions