Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

example client using async / await? #198

Open
dckc opened this issue Aug 10, 2019 · 1 comment
Open

example client using async / await? #198

dckc opened this issue Aug 10, 2019 · 1 comment

Comments

@dckc
Copy link

dckc commented Aug 10, 2019

Inspired by Tokio alpha release with async & await, I picked up rust for the first time in a while tonight.

I managed to adapt your client example to a protocol I'm interested in: https://github.com/dckc/spendr

But I don't see how to use the yummy new async / await stuff. The blog item says "Some libraries include: ... gRPC client and server" with a link to this project. Maybe that's just talking about tokio in general and not async & await?

@LucioFranco
Copy link
Member

@dckc currently, there is a maybe broken in progress PR for async/await grpc but we have some big plans around this and will be changing a good amount. Its not done yet but should be ready soon!

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

No branches or pull requests

2 participants