tower-grpc icon indicating copy to clipboard operation
tower-grpc copied to clipboard

example client using async / await?

Open dckc opened this issue 6 years ago • 1 comments

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?

dckc avatar Aug 10 '19 05:08 dckc

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

LucioFranco avatar Aug 16 '19 19:08 LucioFranco