September 2018
Intermediate to advanced
398 pages
9h 43m
English
OK, we can compose Futures to have new Futures but, at some point, we will need to have a concrete value instead of Future.
When we asked to get the response of a REST call, we receive Future from the function. The particularity of Future is that we do not know when it is going to finish so in our test we need to wait until we get the concrete value of Future.
To get a concrete value, you can either wait for Future to complete or provide a callback. Let us go into the details of both cases.
Read now
Unlock full access