Document asSubscriber stage (#28128)
* Unfortunately it seems the jdk9-only tests could not actually be compiled. With these changes those can actually be compiled and ran again. * Always link to jdk11 for java.* javadocs * Update sbt-paradox-akka to fix linking to inner classes for javadoc
This commit is contained in:
parent
619a4494d5
commit
25ad10f893
9 changed files with 195 additions and 13 deletions
|
|
@ -46,7 +46,9 @@ object JavaFlowSupport {
|
|||
* @see See also [[Source.asSubscriber]] if wanting to integrate with [[org.reactivestreams.Subscriber]] instead
|
||||
* (which carries the same semantics, however existed before RS's inclusion in Java 9).
|
||||
*/
|
||||
final def asSubscriber[T]: Source[T, juc.Flow.Subscriber[T]] =
|
||||
//#asSubscriber
|
||||
final def asSubscriber[T]: Source[T, java.util.concurrent.Flow.Subscriber[T]] =
|
||||
//#asSubscriber
|
||||
scaladsl.Source.asSubscriber[T].mapMaterializedValue(_.asJava)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue