diff --git a/src/components/DurableExecutionAnimation/index.js b/src/components/DurableExecutionAnimation/index.js index f5485302..8f9b7f9b 100644 --- a/src/components/DurableExecutionAnimation/index.js +++ b/src/components/DurableExecutionAnimation/index.js @@ -374,7 +374,7 @@ class Services extends React.Component { } } -const defaultAnimation = "
cartService: Joe - cart=[]
addTicket ( Joe, seat2B )
reserve ( seat2B )
This animation shows you how durable execution takes place in Restate. The animation shows a ticket reservation platform for a theatre, where users can add tickets to their cart. Tickets can only be reserved by a single user. The application consists of two components: the CartObject and the TicketObject.
async function addTicket(ctx, order){\n" + +const defaultAnimation = "State
cartService: Joe - cart=[]
Journals
addTicket ( Joe, seat2B )
||||||||||||||||||||||||||||||RPC: reserve { seat2B }↓↑RPC: response { success }reserve ( seat2B )
||||||||||This animation shows you how durable execution takes place in Restate. The animation shows a ticket reservation platform for a theatre, where users can add tickets to their cart. Tickets can only be reserved by a single user. The application consists of two components: the CartObject and the TicketObject.
→←←CartObjectsuspended...invoked...async function addTicket(ctx, order){\n" + " const success = await ctx\n" + " .objectClient(ticketManager, ticketId)\n" + " .reserve();\n" + diff --git a/src/components/TourAnimation/index.js b/src/components/TourAnimation/index.js index dd03f86e..a70f5a53 100644 --- a/src/components/TourAnimation/index.js +++ b/src/components/TourAnimation/index.js @@ -323,7 +323,7 @@ class Services extends React.Component { } } -const defaultAnimation = "Journals
addTicket ( Mary, seat2B )
||||||||||||||||||||RPC: reserve { seat2B }↓↑RPC: response { success }reserve ( seat2B )
||||||||||This animation shows you what happened under the hood when we did the reserve call from the `CartObject` to the `TicketObject`. The animation uses the TypeScript SDK.
→←←CartObject[Mary]suspended...invoked...async function addTicket(ctx, ticketId){\n" + +const defaultAnimation = "Journals
addTicket ( Mary, seat2B )
||||||||||||||||||||RPC: reserve { seat2B }↓↑RPC: response { success }reserve ( seat2B )
||||||||||This animation shows you what happened under the hood when we did the reserve call from the `CartObject` to the `TicketObject`. The animation uses the TypeScript SDK.
→←←CartObject[Mary]suspended...invoked...async function addTicket(ctx, ticketId){\n" + " const success = await ctx\n" + " .objectClient(ticketObject)\n" + " .reserve(ticketId);\n" +