File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,11 +87,11 @@ public class OrderFlow(
8787 {
8888 var transactionId = await Capture (Guid .NewGuid ); // generated transaction id is fixed after this statement
8989
90- await Capture (() => paymentProviderClient .Reserve (order .CustomerId , transactionId , order .TotalPrice ));
90+ await Capture (() => paymentProviderClient .Reserve (order .CustomerId , transactionId , order .TotalPrice ));
9191 var trackAndTrace = await Capture (
9292 () => logisticsClient .ShipProducts (order .CustomerId , order .ProductIds ),
9393 ResiliencyLevel .AtMostOnce
94- ); // external calls can also be captured - will never be called multiple times
94+ ); // capture may also have at-most-once invocation semantics
9595 await Capture (() => paymentProviderClient .Capture (transactionId ));
9696 await Capture (() => emailClient .SendOrderConfirmation (order .CustomerId , trackAndTrace , order .ProductIds ));
9797 }
You can’t perform that action at this time.
0 commit comments