Skip to content

Commit

Permalink
Fix minor typos in durable promises pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
tillrohrmann committed Apr 25, 2024
1 parent ac3b39c commit 32d9b53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import * as dp from "./dp/clients";
// An illustration of durable promises across processes.
//
// This example instantiates a promise and randomly either awaits it
// or completes it. Start this example multiple times in differnt shells,
// and see how this
// or completes it. Start this example multiple times in different shells,
// and see how the processes communicate with each other through the promise.
//
// Run the example by calling `npm run example <promise-name> <restate-URI>`.
// This requires that you have Restate and the Durable Promises app running
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { spawn } from "child_process";
// - Failures are automatically retried, unless they are explicitly labeled
// as terminal errors
// - Restate journals execution progress. Re-tries use that journal to replay
// previous alread completed results, avoiding a repetition of that work and
// previously completed results, avoiding a repetition of that work and
// ensuring stable deterministic values are used during execution.
// - Durable executed functions use the regular code and control flow,
// no custom DSLs
Expand Down

0 comments on commit 32d9b53

Please sign in to comment.