trait
SourceOps[+Out] extends AnyRef
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
append[Super >: Out](elems: Iterable[Super]): Transform[_ <: Out, Super]
-
def
appendThese[Super >: Out](elems: Super*): Transform[_ <: Out, Super]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
collect[M[_]]()(implicit cbf: CanBuildFrom[Nothing, Out, M[Out]]): Transform[_ <: Out, M[Out]]
-
def
collectSuper[Super >: Out, M[_]]()(implicit cbf: CanBuildFrom[Nothing, Super, M[Super]]): Transform[Super, M[Super]]
-
def
concat[Elem, Super >: Out]()(implicit ev: <:<[Super, TraversableOnce[Elem]], cbf: CanBuildFrom[Nothing, Elem, Super]): Transform[_ <: Out, Super]
-
-
def
discard(): StreamOutput[_ <: Out, Unit]
-
def
drive[Res](consumer: StreamConsumer[Out, Res]): StreamOutput[_ <: Out, Res]
-
-
def
dropElements[Elem](count: Long)(implicit ev: <:<[Out, Traversable[Elem]], cbf: CanBuildFrom[Nothing, Elem, Out]): Transform[_ <: Out, Out]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
filter(filter: (Out) ⇒ Boolean)(implicit ec: ExecutionContext): SourceComponent[Out]
-
def
filterAsync(filter: (Out) ⇒ Future[Boolean])(implicit ec: ExecutionContext): SourceComponent[Out]
-
def
filterFunc(filter: Func[Out, Boolean])(implicit ec: ExecutionContext): SourceComponent[Out]
-
def
finalize(): Unit
-
def
flatMap[Next](mapper: (Out) ⇒ Iterable[Next], onComplete: ⇒ Iterable[Next]): SourceComponent[Next]
-
def
flatMap[Next](mapper: (Out) ⇒ Iterable[Next]): SourceComponent[Next]
-
def
flatMapAsync[Next](mapper: (Out) ⇒ Future[Iterable[Next]], onComplete: ⇒ Future[Iterable[Next]]): SourceComponent[Next]
-
def
flatMapAsync[Next](mapper: (Out) ⇒ Future[Iterable[Next]]): SourceComponent[Next]
-
def
flatMapFunc[Next](mapper: Func[Out, Iterable[Next]], onComplete: Func[Unit, Iterable[Next]] = Func(emptyIterable)): SourceComponent[Next]
-
def
flatten[Elem]()(implicit ev: <:<[Out, Iterable[Elem]]): SourceComponent[Elem]
-
def
fold[Super >: Out, Res](init: Res)(onNext: (Res, Super) ⇒ Res): SourceComponent[Res]
-
def
foldAsync[Super >: Out, Res](init: Res)(onNext: ((Res, Super)) ⇒ Future[Res]): SourceComponent[Res]
-
def
foldFunc[Super >: Out, Res](init: Res)(onNext: Func[(Res, Super), Res]): SourceComponent[Res]
-
def
foreach[Super >: Out, Res](func: (Super) ⇒ Unit, onComplete: ⇒ Res, onError: (Throwable) ⇒ Unit): StreamOutput[Super, Res]
-
def
foreach[Super >: Out, Res](func: (Super) ⇒ Unit, onComplete: ⇒ Res): StreamOutput[Super, Res]
-
def
foreach[Super >: Out](func: (Super) ⇒ Unit): StreamOutput[Super, Unit]
-
def
foreachAsync[Super >: Out, Res](func: (Super) ⇒ Future[Unit], onComplete: ⇒ Future[Res], onError: (Throwable) ⇒ Unit): StreamOutput[Super, Res]
-
def
foreachAsync[Super >: Out, Res](func: (Super) ⇒ Future[Unit], onComplete: ⇒ Future[Res]): StreamOutput[Super, Res]
-
def
foreachAsync[Super >: Out](func: (Super) ⇒ Future[Unit]): StreamOutput[Super, Unit]
-
def
foreachFunc[Super >: Out, Res](func: Func[Super, Unit], onComplete: Func[Unit, Res] = Func.nop, onError: Func[Throwable, Unit] = Func.nop): StreamOutput[Super, Res]
-
def
foreachTr(func: (Out) ⇒ Unit): Transform[_ <: Out, Out]
-
def
foreachTrAsync(func: (Out) ⇒ Future[Unit]): Transform[_ <: Out, Out]
-
def
foreachTrFunc(func: Func[Out, Unit]): Transform[_ <: Out, Out]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
head(): Transform[_ <: Out, Out]
-
def
headOption(): Transform[_ <: Out, Option[Out]]
-
final
def
isInstanceOf[T0]: Boolean
-
def
map[Next](mapper: (Out) ⇒ Next, onComplete: ⇒ Unit): SourceComponent[Next]
-
def
map[Next](mapper: (Out) ⇒ Next): SourceComponent[Next]
-
def
mapAsync[Next](mapper: (Out) ⇒ Future[Next], onComplete: ⇒ Future[Unit]): SourceComponent[Next]
-
def
mapAsync[Next](mapper: (Out) ⇒ Future[Next]): SourceComponent[Next]
-
def
mapFunc[Next](mapper: Func[Out, Next], onComplete: Func[Unit, Unit] = Func.nop): SourceComponent[Next]
-
def
merge[Super >: Out](sources: SourceComponent[Super]*): Merger[Super]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
onComplete(onComplete: ⇒ Unit): Transform[_ <: Out, Out]
-
def
onCompleteAsync(onComplete: ⇒ Future[Unit]): Transform[_ <: Out, Out]
-
def
onCompleteFunc(onComplete: Func[Unit, Unit]): Transform[_ <: Out, Out]
-
def
onError(onError: (Throwable) ⇒ Unit): Transform[_ <: Out, Out]
-
def
onErrorAsync(onError: (Throwable) ⇒ Future[Unit]): Transform[_ <: Out, Out]
-
def
onErrorFunc(onError: Func[Throwable, Unit]): Transform[_ <: Out, Out]
-
def
prepend[Super >: Out](elems: Iterable[Super]): Transform[_ <: Out, Super]
-
def
prependThese[Super >: Out](elems: Super*): Transform[_ <: Out, Super]
-
def
roundRobin(outputCount: Int): Splitter[_ <: Out]
-
def
scatter(outputCount: Int): Scatterer[_ <: Out]
-
-
def
singleResult()(implicit ec: ExecutionContext): Future[Out]
-
def
split(outputCount: Int, outputChooser: (Out) ⇒ BitSet): Splitter[_ <: Out]
-
def
splitAsync(outputCount: Int, outputChooser: (Out) ⇒ Future[BitSet]): Splitter[_ <: Out]
-
def
splitFunc(outputCount: Int, outputChooser: Func[Out, BitSet]): Splitter[_ <: Out]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
-
def
takeElements[Elem](count: Long)(implicit ev: <:<[Out, Traversable[Elem]], cbf: CanBuildFrom[Nothing, Elem, Out]): Transform[_ <: Out, Out]
-
def
tapHead(): Transform[_ <: Out, Out] with Aside[Option[Out]]
-
def
tee(outputCount: Int): Splitter[_ <: Out]
-
def
toIndexedSeq(): Transform[_ <: Out, IndexedSeq[Out]]
-
def
toList(): Transform[_ <: Out, List[Out]]
-
def
toSeq(): Transform[_ <: Out, Seq[Out]]
-
def
toSet[Super >: Out](): Transform[_ <: Out, Set[Super]]
-
def
toString(): String
-
def
toVector(): Transform[_ <: Out, Vector[Out]]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Mixed into
Source
implementations to add shortcut methods to constructors of Source, Transform, Sink and Connect.All methods here have three variants: - One taking function literals A => B - Another called xxxAsync taking function literals A => Future[B] - And a third called xxxFunc taking Func objects.
Although they have different signatures, making them into overloads would remove the ability to call the synchronous variant (the most common case) with function literals like
source.map(_ + 1)
.