Skip to content

SessionState

autogen.beta.network.session.SessionState #

Bases: str, Enum

Lifecycle state of a session.

The state machine is hub-enforced. Transitions are paired with the envelope that drove them under the per-session lock.

PENDING class-attribute instance-attribute #

PENDING = 'pending'

ACTIVE class-attribute instance-attribute #

ACTIVE = 'active'

CLOSING class-attribute instance-attribute #

CLOSING = 'closing'

CLOSED class-attribute instance-attribute #

CLOSED = 'closed'

EXPIRED class-attribute instance-attribute #

EXPIRED = 'expired'