Replies: 1 comment 4 replies
-
|
Hi YAGregor, thanks for opening this discussion. :) Let me have a look. Try to describe what you mean by "message acknowledged". If you mean "client sends ACK message back to server when QoS>0" then that's already done internally by asyncio-mqtt. As soon as you enter the If you're afraid that an early async with client.messages() as messages: # This with statement does the proper cleanup
async for message in messages:
...Note that the If you mean something else by "message acknowledged" then try to elaborate. 👍 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
consider a situation:
it works when assume program never stop, but when consider program may stop to update or by accident:
is there any way to confirm message consumed after do something like
or it's just my misunderstanding?
Beta Was this translation helpful? Give feedback.
All reactions