Skip to content

Commit 9a1ecba

Browse files
committed
improve doc
1 parent 40fbdae commit 9a1ecba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,8 @@ def add_topic_callback(self, mqtt_topic: str, callback_method) -> None:
419419
420420
Expected method signature is ``on_message(client, topic, message)``
421421
To get access to the user_data, use the client argument.
422+
423+
If a callback is called for the topic, then any "on_message" callback will not be called.
422424
"""
423425
if mqtt_topic is None or callback_method is None:
424426
raise ValueError("MQTT topic and callback method must both be defined.")

0 commit comments

Comments
 (0)