February 2018
Intermediate to advanced
552 pages
13h 46m
English
The following code is used for the Future Companion object:
object Future{ def apply[T](body: => T): Future[T]}
Here, the computation unit is the body. As it's computed asynchronously, it is defined as the by-name parameter.
Read now
Unlock full access