in normal Scala map and flatMap are different in that flatMap will return a iterable of the data flattened out into a list. However in the Akka documentation, map and flatMap se
Can someone please explain what is the difference between map and flatMap here in Akka futures?
The type, basically:
flatMap[A](f: T => Future[A]): Future[A] map[A](f: T => A): Future[A]