Skip to content

Commit

Permalink
chore: update readme, missed a . (#21)
Browse files Browse the repository at this point in the history
* chore: update README

* chore: update readme, missed a .
  • Loading branch information
nmathew98 authored Feb 14, 2024
1 parent bcbd8ea commit 6c0b50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Has optional support for [`AsyncDisposable`](https://github.com/tc39/proposal-ex

## Background

The scenario: when a customer checks out their cart, we need to create an order via the order microservice and a payment via the payment microservice. A checkout should only be successful if both are successful, and if either one is unsuccessful, then the checkout should fail: the order should not be created and the customer should not be charged
The scenario: when a customer checks out their cart, we need to create an order via the order microservice and a payment via the payment microservice. A checkout should only be successful if both are successful, and if either one is unsuccessful, then the checkout should fail: the order should not be created and the customer should not be charged.

A request can fail for many reasons: either the request provides invalid input (in which case we would want to rollback all changes `onError`) or the network fails (in which case we would want to `makeRetry` the request, the solution to the extreme case of retries failing being throwing our hands in the air and handling things manually).

Expand Down

0 comments on commit 6c0b50e

Please sign in to comment.