heapless
heapless copied to clipboard
Add an async implementation of `Queue`
This PR adds an async version/wrapper around spsc::Queue with fallible interfaces that can be used in sync contexts.
Currently it uses a (non-public) single slot queue to store wakers.
We've been running this version of heapless for 2 months now and it's worked well so far.
Hi, I think heapless should have an async module in where we can look at adding async specific data structures. Maybe @Dirbaio also has some from embassy that would make sense to put here?