How can I provide a clean java and scala API with Tuple2 in Flow or Sink type ?
Should I explicitly use akka.japi.Pair ?
I don’t know if it is even possible :-/
In javadsl you should use japi.Pair and in scaladsl Tuple2
© 2018 Lightbend, Inc. |
Cookie Listing |