Last active
June 18, 2018 14:49
-
-
Save joan38/e98d0966bfb0816ecf4232500362e955 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
| object CopyData { | |
| lazy val board = JobBoard[(String, String) => Unit](JobId("copyData"), "Copy Data")( | |
| Input[String]("Source environment"), | |
| Input[String]("Destination environment") | |
| ) | |
| lazy val job = Job(board) { implicit workDir => (source, destination) => | |
| Await.result(copyData(source, destination), 1.minute) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment