February 2018
Intermediate to advanced
552 pages
13h 46m
English
We can create a Flow component easily using its map function, as shown here:
val numberFlow = Flow[Int].map(num => num + 1)
Here, Flow takes an Int and increments it by 1 by using this anonymous function:
num => num + 1
Read now
Unlock full access