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

Blocking API version #26

Open
oreshytko opened this issue Mar 21, 2023 · 2 comments
Open

Blocking API version #26

oreshytko opened this issue Mar 21, 2023 · 2 comments

Comments

@oreshytko
Copy link

oreshytko commented Mar 21, 2023

Clients don't have to be async, it's more the necessity for the server-side components. But this library forces a client to run inside an async runtime introducing unnecessary complexity for many cases.

@agourlay
Copy link
Member

Thank you for sharing your concerns 👍

I am not sure how to do this cleanly given our reliance on Tonic.

Which part of the async. API do you find the most complex to work with?

@agourlay
Copy link
Member

After a short investigation, it seems we would have to duplicate the API using a blocking client

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

Successfully merging a pull request may close this issue.

2 participants