Async Generator for Every Received MAVlink Message

Hello everyone,

I was wondering, what would be the best way to get an async generator for every mavlink message received by MAVSDK?
I could create a task for every async generator there is and push the messages to a queue and yield q.get() in my own async generator, but there must be a better way to do this.

Any ideas?

1 Like