×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Scala
Posted by: Komsit Prakobphol
Added: Sep 21, 2016 6:32 AM
Views: 6
  1.     childOrderService.findParentOrderId(clientOrderId) flatMap {
  2.       case None => Future.value(None)
  3.       case Some(parentOrderId) => parentOrderService.findParentOrder(parentOrderId)
  4.     }