Skip to content

Commit 9e0fea1

Browse files
TrickSumoyaythomas
authored andcommitted
Change return method from getSucceeded to getResults
1 parent 4e5b823 commit 9e0fea1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/typescript/testing/examples/parallel-workflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const handler = withDurableExecution(async (event: unknown, context: DurableCont
88
async (ctx) => await ctx.step("fetch-b", () => "data-b"),
99
async (ctx) => await ctx.step("fetch-c", () => "data-c"),
1010
]);
11-
return results.getSucceeded();
11+
return results.getResults();
1212
});
1313

1414
let runner: LocalDurableTestRunner;

0 commit comments

Comments
 (0)