Skip to content

Commit 19e6547

Browse files
Document
1 parent 87defb2 commit 19e6547

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/replit_river/common_session.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ class SessionState(enum.Enum):
3636
"""The state a session can be in.
3737
3838
Valid transitions:
39-
- CONNECTING -> {ACTIVE, CLOSING}
40-
- ACTIVE -> {CONNECTING, CLOSING}
39+
- PENDING -> {CONNECTING}
40+
- CONNECTING -> {PENDING, ACTIVE, CLOSING}
41+
- ACTIVE -> {PENDING, CONNECTING, CLOSING}
4142
- CLOSING -> {CLOSED}
43+
- CLOSED -> {}
4244
"""
4345

4446
PENDING = 0

0 commit comments

Comments
 (0)