Skip to content

docs(tests): Change return method for parallel example from getSucceeded to getResults#196

Merged
yaythomas merged 1 commit into
aws:mainfrom
TrickSumo:patch-4
May 29, 2026
Merged

docs(tests): Change return method for parallel example from getSucceeded to getResults#196
yaythomas merged 1 commit into
aws:mainfrom
TrickSumo:patch-4

Conversation

@TrickSumo
Copy link
Copy Markdown
Contributor

Issue

results.getSucceeded() is not a valid method for the result of a parallel operation.

Description of changes:

Use results.getResults() instead.

Copy link
Copy Markdown
Contributor

@yaythomas yaythomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Confirmed context.parallel overloads return DurablePromise<BatchResult> in types/durable-context.ts:435–501.

@yaythomas yaythomas merged commit 9e0fea1 into aws:main May 29, 2026
1 check passed
@yaythomas
Copy link
Copy Markdown
Contributor

big thanks @TrickSumo 🏅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants