Skip to content

Switch code that uses Reactive Streams to favour the Java 9 Flow API #2459

Description

@pjfanning
  • We have PublisherSource and SubscriberSource but these are based on the org.reactivestreams API. We have other methods and classes to support the Java 9 equivalents but these involve delegating to the org.reactivestreams based classes.
  • It seems like for performance reasons we should using code that uses the Java 9 classes directly instead of doing conversions.
  • It's possible that the code is this way as it was easier when we had to support Java 8 to minimise the code that uses the Java 9 APIs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions