January 2019
Intermediate to advanced
520 pages
14h 32m
English
If you have decided to implement a reactive microservice using asynchronous code, you can consider using a future crate as a basis. This crate provides you with types to construct reactive chains to process all messages asynchronously. But remember, it can be hard to write all Future instances manually. There is an upcoming feature in the Rust compiler that provides async/await operators, which simplifies the Future trait implementation by writing traditional functions with the Result return type. This feature is unstable and we won't consider it in this book.
If you don't want to write low-level code, I recommend you use the actix crate. This is a really good framework that lets you write asynchronous ...
Read now
Unlock full access