Skip to content

Commit 5040979

Browse files
author
brentru
committed
add depreciation notice to loop_forever
1 parent 622b4c7 commit 5040979

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

adafruit_minimqtt.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,10 @@ def loop_forever(self):
583583
method if you want to run a program forever.
584584
Code below a call to this method will NOT execute.
585585
586-
NOTE: Network reconnection is not handled within this call and
587-
must be handled by your code for each interface.
586+
NOTE: This method is depreciated and will be removed in the
587+
next major release. Please see examples/minimqtt_pub_sub_blocking.py
588+
for an example of creating a blocking loop which can handle wireless
589+
network events.
588590
589591
"""
590592
while True:

0 commit comments

Comments
 (0)