package converter
- Alphabetic
- By Inheritance
- converter
- ConverterDsl
- Converter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait Converter extends AnyRef
- trait ConverterDsl extends Converter
-
implicit
class
AkkaFlowDsl[A, B, M] extends AnyRef
- Definition Classes
- ConverterDsl
-
implicit
class
AkkaSinkDsl[A, M] extends AnyRef
- Definition Classes
- ConverterDsl
-
implicit
class
AkkaSinkMatDsl[A, M] extends AnyRef
- Definition Classes
- ConverterDsl
-
implicit
class
AkkaSourceDsl[A, M] extends AnyRef
- Definition Classes
- ConverterDsl
-
implicit
class
FS2PipeIODsl[F[_], A, B] extends AnyRef
- Definition Classes
- ConverterDsl
-
implicit
class
FS2PipePureDsl[A, B] extends AnyRef
- Definition Classes
- ConverterDsl
-
implicit
class
FS2SinkIODsl[F[_], A] extends AnyRef
- Definition Classes
- ConverterDsl
-
implicit
class
FS2SinkPureDsl[A] extends AnyRef
- Definition Classes
- ConverterDsl
-
implicit
class
FS2StreamIODsl[F[_], A] extends AnyRef
- Definition Classes
- ConverterDsl
-
implicit
class
FS2StreamNothingDsl[A] extends AnyRef
- Definition Classes
- ConverterDsl
-
implicit
class
FS2StreamPureDsl[A] extends AnyRef
- Definition Classes
- ConverterDsl
Value Members
-
def
akkaFlowToFs2Pipe[F[_], A, B, M](flow: Graph[FlowShape[A, B], M])(onMaterialization: (M) ⇒ Unit)(implicit arg0: ContextShift[F], materializer: Materializer, F: Concurrent[F]): Pipe[F, A, B]
Converts an Akka Stream Graph of FlowShape to an FS2 Pipe.
Converts an Akka Stream Graph of FlowShape to an FS2 Pipe. The Graph is materialized when the Pipe's F in run. The materialized value can be obtained with the
onMaterialization
callback.- Definition Classes
- Converter
-
def
akkaSinkToFs2Pipe[F[_], A, M](sink: Graph[SinkShape[A], M])(onMaterialization: (M) ⇒ Unit)(implicit arg0: ContextShift[F], materializer: Materializer, F: Concurrent[F]): Pipe[F, A, Unit]
Converts an Akka Stream Graph of SinkShape to an FS2 Sink.
Converts an Akka Stream Graph of SinkShape to an FS2 Sink. The Graph is materialized when the Sink's F in run. The materialized value can be obtained with the
onMaterialization
callback.- Definition Classes
- Converter
-
def
akkaSinkToFs2PipeMat[F[_], A, M](akkaSink: Graph[SinkShape[A], Future[M]])(implicit arg0: ConcurrentEffect[F], arg1: ContextShift[F], ec: ExecutionContext, m: Materializer): Pipe[F, A, Either[Throwable, M]]
Converts an akka sink with a success-status-indicating Future[M] materialized result into an fs2 Pipe which will fail if the Future fails.
Converts an akka sink with a success-status-indicating Future[M] materialized result into an fs2 Pipe which will fail if the Future fails. The stream returned by this will emit the Future's value one time at the end, then terminate.
- Definition Classes
- Converter
-
def
akkaSourceToFs2Stream[F[_], A, M](source: Graph[SourceShape[A], M])(onMaterialization: (M) ⇒ Unit)(implicit arg0: ContextShift[F], materializer: Materializer, F: Async[F]): Stream[F, A]
Converts an Akka Stream Graph of SourceShape to an FS2 Stream.
Converts an Akka Stream Graph of SourceShape to an FS2 Stream. The Graph is materialized when the Stream's F in run. The materialized value can be obtained with the
onMaterialization
callback.- Definition Classes
- Converter
-
def
fs2PipeToAkkaFlow[F[_], A, B](pipe: Pipe[F, A, B])(implicit arg0: ContextShift[F], F: ConcurrentEffect[F]): Graph[FlowShape[A, B], NotUsed]
Converts an FS2 Pipe to an Akka Stream Graph of FlowShape.
Converts an FS2 Pipe to an Akka Stream Graph of FlowShape. The Pipe is run when the Graph is materialized.
- Definition Classes
- Converter
-
def
fs2PipeToAkkaSink[F[_], A](sink: Pipe[F, A, Unit])(implicit arg0: ContextShift[F], F: Effect[F]): Graph[SinkShape[A], Future[Done]]
Converts an FS2 Pipe to an Akka Stream Graph of SinkShape.
Converts an FS2 Pipe to an Akka Stream Graph of SinkShape. The Sink is run when the Graph is materialized.
- Definition Classes
- Converter
-
def
fs2StreamToAkkaSource[F[_], A](stream: Stream[F, A])(implicit arg0: ContextShift[F], F: ConcurrentEffect[F]): Graph[SourceShape[A], NotUsed]
Converts an FS2 Stream to an Akka Stream Graph of SourceShape.
Converts an FS2 Stream to an Akka Stream Graph of SourceShape. The Stream is run when the Graph is materialized.
- Definition Classes
- Converter