Replies: 1 comment
-
I don't really know if there is UDP support in the uasyncio module, but that's what you should be doing here instead of using sync functions that cannot be awaited. And if that does not work, at the very least you should change the 5 second time in your poller to 0, so that it becomes non-blocking. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I have started working with Microdot on a Raspberry Zero W and it’s running great! My intended application has 3 parts working in parallel via uasyncio: a web server, a main loop and a kind of UDP broadcast discovery server.
Basically all 3 parts are running together, but the broadcast server is ugly, just polling for a broadcast request, sleeping some ms and polling again. Is there a possibility for some kind of “await for the broadcast”, without the polling?
Beta Was this translation helpful? Give feedback.
All reactions