object Source
akka.stream.scaladsl.Source factories operating with java.util.concurrent.Flow.*
interfaces.
- Source
- JavaFlowSupport.scala
- Alphabetic
- By Inheritance
- Source
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def asSubscriber[T]: Source[T, Subscriber[T]]
Creates a
Source
that is materialized as a java.util.concurrent.Flow.SubscriberCreates a
Source
that is materialized as a java.util.concurrent.Flow.Subscriber- See also
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 fromPublisher[T](publisher: Publisher[T]): Source[T, NotUsed]
Helper to create Source from java.util.concurrent.Flow.Publisher.
Helper to create Source from java.util.concurrent.Flow.Publisher.
Construct a transformation starting with given publisher. The transformation steps are executed by a series of java.util.concurrent.Flow.Processor instances that mediate the flow of elements downstream and the propagation of back-pressure upstream.
- See also
See also Source.fromPublisher if wanting to integrate with org.reactivestreams.Publisher instead (which carries the same semantics, however existed before RS's inclusion in Java 9).