commit 090cdee42031307a55306510872077afeae09df1
parent 7e2ff44299c58a5b8131297f46df0429761a068d
Author: Stefan Koch <programming@stefan-koch.name>
Date: Thu, 10 Dec 2020 16:11:48 +0100
wait for multiple messages to arrive
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/aetherscale/client.py b/aetherscale/client.py
@@ -28,10 +28,6 @@ class ServerCommunication:
def on_response(self, ch, method, properties, body):
self.responses.append(json.loads(body))
- # TODO: Stopping consuming on the first message only works
- # as long as we only expect one message
- self.channel.stop_consuming()
-
def on_timeout(self):
self.channel.stop_consuming()