2 ms·
It would be nice to see examples of these new systems hypothetically working together... what does an async DB access within a web request look like with async/
by jadbox 9y ago
It would be nice to see examples of these new systems hypothetically working together... what does an async DB access within a web request look like with async/await+tokio 0.2?
- pimeys 9y agoPretty much like your good old sync code. Some examples how it might look like you can read from the async/await macro crate [0], somebody might be able to provide more recent examples... [0] https://github.com/alexcrichton/futures-await https://github.com/alexcrichton/futures-await