This is a suggested improvement.
Right now the library has only synchronous interface but the nusb used under the hood is async-first. It would be nice to have an option to use this library in asynchronous environments with minimal (or no) overhead from extra threads.
It seeams that in order to provide such functionality we need to add AsyncReader / AsyncWriter and probably an asynchronous version of CdcSerial. The USB manager and intent checking part may also require some changes.
This is a suggested improvement.
Right now the library has only synchronous interface but the
nusbused under the hood is async-first. It would be nice to have an option to use this library in asynchronous environments with minimal (or no) overhead from extra threads.It seeams that in order to provide such functionality we need to add
AsyncReader/AsyncWriterand probably an asynchronous version ofCdcSerial. The USB manager and intent checking part may also require some changes.