Skip to content

Commit 46e4b18

Browse files
author
graebm
committed
comment
1 parent 36d3be7 commit 46e4b18

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

awsiot/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,10 @@ def _subscribe_operation(self, topic, qos, callback, payload_to_class_fn):
124124
`callback`. The dict comes from parsing the received
125125
message as JSON.
126126
127-
Returns two values. The first is a `Future` which will contain a result
128-
of `awscrt.mqtt.QoS` when the server has acknowledged the subscription,
129-
or an exception if the subscription fails. The second value is a topic
130-
which may be passed to `unsubscribe()` to stop receiving messages.
127+
Returns two values. The first is a `Future` whose result will be the
128+
`awscrt.mqtt.QoS` granted by the server, or an exception if the
129+
subscription fails. The second value is a topic which may be passed to
130+
`unsubscribe()` to stop receiving messages.
131131
Note that messages may arrive before the subscription is acknowledged.
132132
"""
133133

0 commit comments

Comments
 (0)