Skip to content

Commit a1359ee

Browse files
authored
Merge pull request #71189 from MicrosoftDocs/ChaitanyaNaykodi-MSFT-patch-1
(AzureCXP) fixed continueAsNew for JavaScript
2 parents 5a8b84a + 0bb2e1b commit a1359ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-functions/durable/durable-functions-eternal-orchestrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports = df.orchestrator(function*(context) {
6161
const nextCleanup = moment.utc(context.df.currentUtcDateTime).add(1, "h");
6262
yield context.df.createTimer(nextCleanup.toDate());
6363

64-
context.df.continueAsNew(undefined);
64+
yield context.df.continueAsNew(undefined);
6565
});
6666
```
6767

0 commit comments

Comments
 (0)