Skip to content

Commit 9bb0eb4

Browse files
committed
Reword the analogy
1 parent c5a2bcb commit 9bb0eb4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/pages/core/architecture/actor-model.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,13 @@ means a contract can only interact with the outside world via messages and only
2727
manipulate its own state.
2828

2929
Picture two people living in two houses, each house has a mailbox. If person A
30-
wants to talk to person B, they write a letter and put it in person B's mailbox.
31-
Person B will read the letter and write a response, putting it in person A's
32-
mailbox.
30+
wants to talk to person B, they write a letter, address to to person B, and send
31+
it off. The mailman (or in this case, the chain) will put the letter in person
32+
B's mailbox.
33+
34+
Person B will then read the letter and can choose to write a response, address
35+
it to person A with a note indicating that this is a reply, and send it off once
36+
again.
3337

3438
No direct interaction is happening here, nobody visits each other's house which
3539
would allow them to rummage around in their belongings (state). They simply

0 commit comments

Comments
 (0)