SubSource

org.apache.pekko.stream.javadsl.SubSource
See theSubSource companion class
object SubSource
  • Upcast a stream of elements to a stream of supertypes of that element. Useful in combination with fan-in operators where you do not want to pay the cost of casting each element in a map.

Attributes

Companion
class
Source
SubSource.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
SubSource.type

Members list

Value members

Concrete methods

def upcast[U, T <: U, Mat](source: SubSource[T, Mat]): SubSource[U, Mat]

Attributes

Source
SubSource.scala