Created
December 15, 2015 13:02
-
-
Save momota10/323a00bb795026096afa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Future.traverse(list) { listId => | |
caRepository.findById(listId) filter { | |
case Some(c) => c.status match { | |
case Stopped => false | |
case _ => true | |
} | |
} map { cs => | |
cs.get.id.get | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment