Skip to content

Provide or document how to create an asynchronous interface #4

@Sitin

Description

@Sitin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions