tower-rs / tower-grpc

A gRPC client & server implementation.
MIT License
562 stars 73 forks source link

example client using async / await? #198

Open dckc opened 5 years ago

dckc commented 5 years ago

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 commented 5 years ago

@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!