Akka.Streams.Dsl Namespace |
Class | Description | |
---|---|---|
BalanceT |
Fan-out the stream to several streams. Each upstream element is emitted to the first available downstream consumer.
It will not shut down until the subscriptions
for at least two downstream subscribers have been established.
A BalanceT has one In port and 2 or more Out(Int32) ports.
Emits when any of the outputs stops backpressuring; emits the element to the first available output Backpressures when all of the outputs backpressureCompletes when upstream completes Cancels when all downstreams cancel | |
BidiFlow |
TBD
| |
BidiFlowTIn1, TOut1, TIn2, TOut2, TMat |
TBD
| |
BroadcastT |
Fan-out the stream to several streams emitting each incoming upstream element to all downstream consumers.
It will not shut down until the subscriptions for at least two downstream subscribers have been established.
Emits when all of the outputs stops backpressuring and there is an input element available Backpressures when any of the outputs backpressureCompletes when upstream completes Cancels when If eagerCancel is enabled: when any downstream cancels; otherwise: when all downstreams cancel | |
BroadcastHub |
A BroadcastHub is a special streaming hub that is able to broadcast streamed elements to a dynamic set of consumers.
It consists of two parts, a SinkTIn, TMat and a SourceTOut, TMat. The SinkTIn, TMat broadcasts elements from a producer to the
actually live consumers it has. Once the producer has been materialized, the SinkTIn, TMat it feeds into returns a
materialized value which is the corresponding SourceTOut, TMat. This SourceTOut, TMat can be materialized arbitrary many times,
where each of the new materializations will receive their elements from the original SinkTIn, TMat.
| |
Concat |
TBD
| |
ConcatTIn, TOut |
Takes two streams and outputs one stream formed from the two input streams
by first emitting all of the elements from the first stream and then emitting
all of the elements from the second stream.
A ConcatTIn, TOut has one multiple In(Int32) ports and one Out port.
Emits when the current stream has an element available; if the current input completes, it tries the next one Backpressures when downstream backpressuresCompletes when all upstreams complete Cancels when downstream cancels | |
FileIO |
TBD
| |
Flow |
A Flow is a set of stream processing steps that has one open input and one open output.
| |
FlowTIn, TOut, TMat |
A FlowTIn, TOut, TMat is a set of stream processing steps that has one open input and one open output.
| |
FlowOperations |
TBD
| |
ForwardOps |
TBD
| |
Framing |
TBD
| |
FramingFramingException |
TBD
| |
GraphDsl |
A graph DSL, which defines an API for building complex graphs. Graph definitions
are enclosed within a scope of functions defined by user, using a dedicated
GraphDslBuilderT helper to connect specific graph stages with each other.
| |
GraphDslBuilderT |
TBD
| |
GraphDslForwardOpsTOut, TMat |
TBD
| |
GraphDslReverseOpsTIn, TMat |
TBD
| |
Interleave |
TBD
| |
InterleaveTIn, TOut |
Interleave represents deterministic merge which takes N elements per input stream,
in-order of inputs, emits them downstream and then cycles/"wraps-around" the inputs.
Emits when element is available from current input (depending on phase) Backpressures when downstream backpressuresCompletes when all upstreams complete (eagerComplete=false) or one upstream completes (eagerComplete=true) Cancels when downstream cancels | |
JsonFraming |
Provides JSON framing stages that can separate valid JSON objects from incoming ByteString objects.
| |
Keep |
Convenience functions for often-encountered purposes like keeping only the
left (first) or only the right (second) of two input values.
| |
MergeT |
Merge several streams, taking elements as they arrive from input streams
(picking randomly when several have elements ready).
Emits when one of the inputs has an element available Backpressures when downstream backpressuresCompletes when all upstreams complete Cancels when downstream cancels | |
MergeTIn, TOut |
Merge several streams, taking elements as they arrive from input streams
(picking randomly when several have elements ready).
Emits when one of the inputs has an element available Backpressures when downstream backpressuresCompletes when all upstreams complete Cancels when downstream cancels | |
MergeHub |
A MergeHub is a special streaming hub that is able to collect streamed elements from a dynamic set of
producers. It consists of two parts, a SourceTOut, TMat and a SinkTIn, TMat. The SourceTOut, TMat streams the element to a consumer from
its merged inputs. Once the consumer has been materialized, the SourceTOut, TMat returns a materialized value which is
the corresponding SinkTIn, TMat. This SinkTIn, TMat can then be materialized arbitrary many times, where each of the new
materializations will feed its consumed elements to the original SourceTOut, TMat.
| |
MergeHubProducerFailed |
TBD
| |
MergePreferredT |
Merge several streams, taking elements as they arrive from input streams
(picking from preferred when several have elements ready).
A MergePreferredT has one Out port, one Preferred input port and 0 or more secondary In(Int32) ports.
Emits when one of the inputs has an element available, preferring a specified input if multiple have elements available Backpressures when downstream backpressuresCompletes when all upstreams complete (eagerComplete=false) or one upstream completes (eagerComplete=true) Cancels when downstream cancels | |
MergePreferredTMergePreferredShape |
TBD
| |
MergeSortedT |
Merge two pre-sorted streams such that the resulting stream is sorted.
Emits when both inputs have an element available Backpressures when downstream backpressuresCompletes when all upstreams complete Cancels when downstream cancels | |
One2OneBidiTIn, TOut |
TBD
| |
One2OneBidiFlow |
TBD
| |
OrElse |
TBD
| |
OrElseT |
Takes two streams and passes the first through, the secondary stream is only passed
through if the primary stream completes without passing any elements through. When
the first element is passed through from the primary the secondary is cancelled.
Both incoming streams are materialized when the stage is materialized.
On errors the stage is failed regardless of source of the error.
'''Emits when''' element is available from primary stream or the primary stream closed without emitting any elements and an element
is available from the secondary stream
'''Backpressures when''' downstream backpressures
'''Completes when''' the primary stream completes after emitting at least one element, when the primary stream completes
without emitting and the secondary stream already has completed or when the secondary stream completes
'''Cancels when''' downstream cancels
| |
OutputTruncationException |
TBD
| |
PartitionT |
Fan-out the stream to several streams. emitting an incoming upstream element to one downstream consumer according
to the partitioner function applied to the element
Emits when an element is available from the input and the chosen output has demand Backpressures when the currently chosen output back-pressuresCompletes when upstream completes and no output is pending Cancels when when all downstreams cancel | |
PartitionOutOfBoundsException |
TBD
| |
ReverseOps |
TBD
| |
RunnableGraph |
TBD
| |
RunnableGraphTMat |
TBD
| |
Sink |
TBD
| |
SinkTIn, TMat |
A SinkTIn, TMat is a set of stream processing steps that has one open input.
Can be used as a ISubscriber | |
Source |
TBD
| |
SourceTOut, TMat |
A SourceTOut, TMat is a set of stream processing steps that has one open output. It can comprise
any number of internal sources and transformations that are wired together, or it can be
an "atomic" source, e.g. from a collection or a file. Materialization turns a Source into
a Reactive Streams IPublisher (at least conceptually).
| |
SourceOperations |
TBD
| |
StreamConverters |
Converters for interacting with the IO streams APIs
| |
SubFlowTOut, TMat, TClosed |
A "stream of streams" sub-flow of data elements, e.g. produced by GroupBy.
SubFlows cannot contribute to the super-flow’s materialized value since they
are materialized later, during the runtime of the flow graph processing.
| |
SubFlowOperations |
TBD
| |
Tcp |
TBD
| |
TcpExt |
TBD
| |
TcpStreamExtensions |
TBD
| |
UnexpectedOutputException |
TBD
| |
UnZipT1, T2 |
Takes a stream of pair elements and splits each pair to two output streams.
An UnZipT1, T2 has one in port and one left and one right output port.
Emits when all of the outputs stops backpressuring and there is an input element available Backpressures when any of the outputs backpressuresCompletes when upstream completes Cancels when any downstream cancels | |
UnzipWith |
TBD
| |
UnzipWithTIn, T0, T1 |
TBD
| |
UnzipWithTIn, T0, T1, T2 |
TBD
| |
UnzipWithTIn, T0, T1, T2, T3 |
TBD
| |
UnzipWithTIn, T0, T1, T2, T3, T4 |
TBD
| |
UnzipWithTIn, T0, T1, T2, T3, T4, T5 |
TBD
| |
UnzipWithTIn, T0, T1, T2, T3, T4, T5, T6 |
TBD
| |
UnzipWithCreatorTIn, TOut0, TOut1 |
TBD
| |
UnzipWithCreatorTIn, TOut0, TOut1, TOut2 |
TBD
| |
UnzipWithCreatorTIn, TOut0, TOut1, TOut2, TOut3 |
TBD
| |
UnzipWithCreatorTIn, TOut0, TOut1, TOut2, TOut3, TOut4 |
TBD
| |
UnzipWithCreatorTIn, TOut0, TOut1, TOut2, TOut3, TOut4, TOut5 |
TBD
| |
UnzipWithCreatorTIn, TOut0, TOut1, TOut2, TOut3, TOut4, TOut5, TOut6 |
TBD
| |
ZipT1, T2 |
Combine the elements of 2 streams into a stream of tuples.
A ZipT1, T2 has a left and a right input port and one out port
Emits when all of the inputs has an element available Backpressures when downstream backpressuresCompletes when any upstream completes Cancels when downstream cancels | |
ZipN |
TBD
| |
ZipNT |
Combine the elements of multiple streams into a stream of sequences.
A ZipNT has a n input ports and one out port
Emits when all of the inputs has an element available Backpressures when downstream backpressuresCompletes when any upstream completes Cancels when downstream cancels | |
ZipWith |
TBD
| |
ZipWithTIn0, TIn1, TIn2, TIn3, TIn4, TIn5, TIn6, TIn7, TIn8, TOut |
TBD
| |
ZipWithTIn0, TIn1, TOut |
TBD
| |
ZipWithTIn0, TIn1, TIn2, TOut |
TBD
| |
ZipWithTIn0, TIn1, TIn2, TIn3, TOut |
TBD
| |
ZipWithTIn0, TIn1, TIn2, TIn3, TIn4, TOut |
TBD
| |
ZipWithTIn0, TIn1, TIn2, TIn3, TIn4, TIn5, TOut |
TBD
| |
ZipWithTIn0, TIn1, TIn2, TIn3, TIn4, TIn5, TIn6, TOut |
TBD
| |
ZipWithTIn0, TIn1, TIn2, TIn3, TIn4, TIn5, TIn6, TIn7, TOut |
TBD
| |
ZipWithN |
TBD
| |
ZipWithNTIn, TOut |
Combine the elements of multiple streams into a stream of sequences using a combiner function.
A ZipWithNTIn, TOut has a n input ports and one out port
Emits when all of the inputs has an element available Backpressures when downstream backpressuresCompletes when any upstream completes Cancels when downstream cancels |
Structure | Description | |
---|---|---|
TcpIncomingConnection |
Represents an accepted incoming TCP connection.
| |
TcpOutgoingConnection |
Represents a prospective outgoing TCP connection.
| |
TcpServerBinding |
Represents a successful TCP server binding.
|
Interface | Description | |
---|---|---|
IFlowTOut, TMat |
Operations offered by Sources and Flows with a free output side: the DSL flows left-to-right only.
| |
IRunnableGraphTMat |
Flow with attached input and output, can be executed.
| |
IUnzipWithCreatorTIn, TOut, T |
TBD
|