Created
April 10, 2019 01:31
-
-
Save nachinius/dc2b870472b4cd2d9b3e1cbf68adf810 to your computer and use it in GitHub Desktop.
// Utilities to temporarily have unimplemented parts of the program
This file contains 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
from reactive programms edx course | |
// Utilities to temporarily have unimplemented parts of the program | |
private def unimplementedFlow[A, B, C]: Flow[A, B, C] = | |
Flow.fromFunction[A, B](_ => ???).mapMaterializedValue(_ => ??? : C) | |
private def unimplementedSink[A, B]: Sink[A, B] = Sink.ignore.mapMaterializedValue(_ => ??? : B) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment