Guest User

Untitled

a guest
Aug 22nd, 2019
81
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def fetchProductsAsync(): Future[List[Product]] = ???
  2. def fetchRevewsAsync(products: List[Product]): Future[List[Review]] = ???
  3.  
  4. for {
  5. products <- fetchProductsAsync()
  6. reviews <- fetchReviewsAsync(products)
  7. } yield reviews
RAW Paste Data