Created
December 8, 2019 20:37
-
-
Save duanebester/c2b067319d4b810daeac95218b46f7c0 to your computer and use it in GitHub Desktop.
Process Stage
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
def processStage(stageNum: Int) = Flow[BufferedImage] | |
.async | |
.delay(1 seconds) | |
.map(bi => { | |
println(s"Processing Stage: ${stageNum}") | |
bi | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment