mdedetrich commented on PR #2460: URL: https://github.com/apache/pekko/pull/2460#issuecomment-3508036721
> > It just seems like we shouldn't treat the Java Flow API as a 2nd class citizen. > > Much agreed. Perhaps we could make `asPublisher` the Java Flow one and rename the Reactive Streams one to something like `asReactiveStreamsPublisher`? Another alternative would be to have static methods i.e. `ReactiveStreams.asPublisher(source)` vs `JavaFlow.asPublisher(source)` where `ReactiveStreams` would be a Scala object and `JavaFlow` would be a Java class with `asPublisher` being static methods. That way the method name is the same, but you import a different object depending on if you want Java's flow or Reactive Streams -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
