March 2018
Intermediate to advanced
360 pages
6h 59m
English
In this chapter, we will cover the following recipes:
Futures provide the building blocks for asynchronous computations with zero-cost abstraction. Asynchronous communication is useful for handling timeouts, computing across thread pools, network responses, and any function that does not immediately return a value.
In a synchronous block, the computer would execute each command sequentially after waiting for each command to return a value. If you were to apply the synchronous model when sending ...
Read now
Unlock full access