class
Generator[+T, +Out] extends AnyRef
Instance Constructors
-
new
Generator(source: () ⇒ Future[Source[T, Future[Out]]])
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
concat[U >: T](other: Generator[U, _])(implicit ec: ExecutionContext): Generator[U, Out]
-
def
concatMat[U >: T, Out2, Out3](other: Generator[U, Out2])(combine: (Future[Out], Future[Out2]) ⇒ Future[Out3])(implicit ec: ExecutionContext): Generator[U, Out3]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
filter(predicate: (T) ⇒ Boolean)(implicit ec: ExecutionContext): Generator[T, Out]
-
def
finalize(): Unit
-
def
flatMapMaterializedValue[Out2](f: (Out) ⇒ Future[Out2])(implicit ec: ExecutionContext): Generator[T, Out2]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
map[U](f: (T) ⇒ U)(implicit ec: ExecutionContext): Generator[U, Out]
-
def
mapAsync[U](parallelism: Int)(f: (T) ⇒ Future[U])(implicit ec: ExecutionContext): Generator[U, Out]
-
def
mapMaterializedValue[Out2](f: (Out) ⇒ Out2)(implicit ec: ExecutionContext): Generator[T, Out2]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
orElse[U >: T, Out2 >: Out](other: Generator[U, Out2])(implicit ec: ExecutionContext): Generator[U, Out2]
-
def
runWith[Out2](sink: Sink[T, Future[Out2]])(implicit ec: ExecutionContext, mat: ActorMaterializer): Future[Out2]
-
def
runWithMat[Out2, Out3](sink: Sink[T, Future[Out2]])(combine: (Future[Out], Future[Out2]) ⇒ Future[Out3])(implicit ec: ExecutionContext, mat: ActorMaterializer): Future[Out3]
-
val
source: () ⇒ Future[Source[T, Future[Out]]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
throttle(elements: Int, per: FiniteDuration, maximumBurst: Int)(implicit ec: ExecutionContext): Generator[T, Out]
-
def
throttle(elements: Int, per: FiniteDuration = 1.second)(implicit ec: ExecutionContext): Generator[T, Out]
-
def
to[Out2](sink: Sink[T, Out2])(implicit ec: ExecutionContext): Future[RunnableGraph[Future[Out]]]
-
def
toMat[Out2, Out3](sink: Sink[T, Out2])(combine: (Future[Out], Out2) ⇒ Out3)(implicit ec: ExecutionContext): Future[RunnableGraph[Out3]]
-
def
toString(): String
-
def
via[U](flow: Flow[T, U, NotUsed])(implicit ec: ExecutionContext): Generator[U, 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