akka.stream.scaladsl

Flow

object Flow

Scala API

Source
Flow.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Flow
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def apply[T](interval: FiniteDuration, tick: () ⇒ T): Flow[T]

    Elements are produced from the tick closure periodically with the specified interval.

    Elements are produced from the tick closure periodically with the specified interval. The tick element will be delivered to downstream consumers that has requested any elements. If a consumer has not requested any elements at the point in time when the tick element is produced it will not receive that tick element later. It will receive new tick elements as soon as it has requested more elements.

  5. def apply[T](future: Future[T]): Flow[T]

    Start a new flow from the given Future.

    Start a new flow from the given Future. The stream will consist of one element when the Future is completed with a successful value, which may happen before or after materializing the Flow. The stream terminates with an error if the Future is completed with a failure.

  6. def apply[T](f: () ⇒ T): Flow[T]

    Define the sequence of elements to be produced by the given closure.

    Define the sequence of elements to be produced by the given closure. The stream ends normally when evaluation of the closure results in a akka.stream.Stop exception being thrown; it ends exceptionally when any other exception is thrown.

  7. def apply[T](iterable: Iterable[T]): Flow[T]

    Start a new flow from the given Iterable.

    Start a new flow from the given Iterable. This is like starting from an Iterator, but every Consumer directly attached to the Producer of this stream will see an individual flow of elements (always starting from the beginning) regardless of when they subscribed.

  8. def apply[T](iterator: Iterator[T]): Flow[T]

    Start a new flow from the given Iterator.

    Start a new flow from the given Iterator. The produced stream of elements will continue until the iterator runs empty or fails during evaluation of the next() method. Elements are pulled out of the iterator in accordance with the demand coming from the downstream transformation steps.

  9. def apply[T](producer: Producer[T]): Flow[T]

    Construct a transformation of the given producer.

    Construct a transformation of the given producer. The transformation steps are executed by a series of org.reactivestreams.api.Processor instances that mediate the flow of elements downstream and the propagation of back-pressure upstream.

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped