Skip to content
Discussion options

You must be logged in to vote

up and down here are asyncio.Event() objects, see https://github.com/peterhinch/micropython-mqtt/blob/f9290c68b0459e2841e0565cb6b45bc636f698bd/mqtt_as/mqtt_as.py#L154

So the code is (async) waiting for these events to be set elsewhere in the mqtt library.

Replies: 2 comments 2 replies

Comment options

andrewleech
Sep 18, 2023
Collaborator Sponsor

You must be logged in to vote
2 replies
@tferrin
Comment options

@peterhinch
Comment options

Answer selected by tferrin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants