Closed kevinkk525 closed 4 years ago
Oh dear, I hadn't taken account of concurrent subscriptions. I think we need to use a similar approach to publications, of replacing self.suback with a set of expected PID's.
I'll push an update shortly. I'll only have time to verify basic functionality so it would be good if you could do concurrency testing: I'm currently working on fast_io to fix your https://github.com/micropython/micropython/issues/5242 and it's a pig to get right :)
No problem, I'll do the concurrency testing. Thanks for your efforts.
Sorry for the changes due to autopep.. makes it look like there are more changes.