Created
December 9, 2019 00:07
-
-
Save duanebester/7fb3e8c02686ef3b628e9786f0b52211 to your computer and use it in GitHub Desktop.
Process Image Flow
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 processImageFlow(): Flow[BufferedImage, ImageProcessed, NotUsed] = | |
processStage(1) | |
.via(processStage(2)) | |
.via(processStage(3)) | |
.via(processStage(4)) | |
.map(_ => ImageProcessed("Complete!")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment