Skip to content

Commit d742b4b

Browse files
committed
loop_forever method doesn't exist in MQTT client
1 parent f6cd827 commit d742b4b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

adafruit_aws_iot.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,6 @@ def loop(self) -> None:
237237
if self.connected_to_aws:
238238
self.client.loop()
239239

240-
def loop_forever(self) -> None:
241-
"""Begins a blocking, asynchronous message loop.
242-
This method handles network connection/disconnection.
243-
"""
244-
if self.connected_to_aws:
245-
self.client.loop_forever()
246-
247240
@staticmethod
248241
def validate_topic(topic: str) -> None:
249242
"""Validates if user-provided pub/sub topics adhere to AWS Service Limits.

0 commit comments

Comments
 (0)