You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,15 @@ all wasm code generate from [book](https://rustwasm.github.io/docs/book/game-of-
91
91
92
92
4. Now you can see the connection on the server workbench or on browser's console
93
93
94
+
## Event Order Guarantees
95
+
96
+
Tentacle provides the following guarantees regarding event ordering:
97
+
98
+
1. All protocol events **always occur after** the initial `SessionOpen` event
99
+
2. The `SessionClose` event is guaranteed to be the final event in a session's lifecycle
100
+
3. When multiple protocols are opened simultaneously, no specific ordering is guaranteed between their events
101
+
4. Critical errors such as `SessionTimeOut` or `MuxerError` will immediately trigger a `SessionClose` event, causing the connection to terminate automatically
0 commit comments