We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87defb2 commit 19e6547Copy full SHA for 19e6547
src/replit_river/common_session.py
@@ -36,9 +36,11 @@ class SessionState(enum.Enum):
36
"""The state a session can be in.
37
38
Valid transitions:
39
- - CONNECTING -> {ACTIVE, CLOSING}
40
- - ACTIVE -> {CONNECTING, CLOSING}
+ - PENDING -> {CONNECTING}
+ - CONNECTING -> {PENDING, ACTIVE, CLOSING}
41
+ - ACTIVE -> {PENDING, CONNECTING, CLOSING}
42
- CLOSING -> {CLOSED}
43
+ - CLOSED -> {}
44
"""
45
46
PENDING = 0
0 commit comments