Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use structured concurrency to return the _actual_ error associated with sending a message #39

Open
NoahAndrews opened this issue Oct 3, 2024 · 0 comments

Comments

@NoahAndrews
Copy link
Member

Currently, the status code returned by sendCANMessage() is just the most recent status of the sending thread, which is just the status of sending some previous message. Instead, sendCANMessage() should return some kind of promise-like object on which you can await the status of sending the actual provided message. Most likely we'd implement this using C++ coroutines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant