{ b => db.updateNanikore(b.piyopiyo).map { c => c.data } } } for { a <- db.getById(id) b <- db.getByFuga(a.nanikore) c <- db.updateNanikore(b.piyopiyo) } yield c.data ↑ಉ͡↑
val aFuture = serviceA.getA(id) val bFuture = serviceB.getB(id) // AͷԠΛ͍ͬͯͳ͍ for { a <- aFuture b <- bFuture } yield a.name + b.name ˞'VUVSFͷ[JQ͕ศརʹ͑·͢ɻৄ͘͠ௐͯΈ͍ͯͩ͘͞ मਖ਼ޙ