Skip to content

AdapterResult

autogen.beta.network.adapters.base.AdapterResult dataclass #

AdapterResult(next_state=None, auto_close_reason='')

What an adapter wants the hub to do after accepting an envelope.

next_state=None leaves the session in its current state. The hub broadcasts EV_SESSION_CLOSED / EV_SESSION_EXPIRED when transitioning to a terminal state.

next_state class-attribute instance-attribute #

next_state = None

auto_close_reason class-attribute instance-attribute #

auto_close_reason = ''