Ravi Sir's Cards › AWS
Atomic hold
This revision card explains Atomic hold. It starts from the need that two lonely Puts double-book seats. It describes transactWrite — FREE, then HELD + ORDER with ClientRequestToken. The how-to section notes condition FREE , then Put order , then token , then read CancellationReasons on fail. An example on the card is chioma Adeyemi treats hold+order as one interview story.
Read card text
What this card says
Why do we need it?
Two lonely Puts double-book seats.
What is it?
TransactWrite: FREE→HELD + ORDER with ClientRequestToken.
TransactWrite
How to do it
Condition FREE → Put order → token → read CancellationReasons on fail.
Example
Chioma Adeyemi treats hold+order as one interview story.