Combining asynchronous results
What value does the transformed future hold?
Examples
Worked example
Input
A completed future holds 5 and thenApply doubles it.
Expected output
10
Hints and solution
Hint 1
Write down the starting state and walk through one example by hand.
Reveal worked answer
The transformation receives 5 after completion and returns 10 as the next result.