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 7ea5b6c commit 8c8f74cCopy full SHA for 8c8f74c
packages/stompman/stompman/client.py
@@ -171,3 +171,8 @@ async def subscribe_with_manual_ack(
171
)
172
await subscription._subscribe() # noqa: SLF001
173
return subscription
174
+
175
+ def is_alive(self) -> bool:
176
+ return (
177
+ self._connection_manager._active_connection_state or False # noqa: SLF001
178
+ ) and self._connection_manager._active_connection_state.is_alive() # noqa: SLF001
0 commit comments