Some cleanup to prepare...
This commit is contained in:
parent
bb4940b027
commit
4f667de73d
9 changed files with 26 additions and 27 deletions
|
|
@ -4,17 +4,13 @@ Wrap the given @apidoc[Flow] and retry individual elements in that stream with a
|
|||
|
||||
@ref[Error handling](../index.md#error-handling)
|
||||
|
||||
@@@div { .group-scala }
|
||||
|
||||
## Signature
|
||||
|
||||
Scala
|
||||
: @@signature [RetryFlow.scala](/akka-stream/src/main/scala/akka/stream/scaladsl/RetryFlow.scala) { #withBackoff }
|
||||
@@signature [RetryFlow.scala](/akka-stream/src/main/scala/akka/stream/scaladsl/RetryFlow.scala) { #withBackoff }
|
||||
|
||||
Java
|
||||
: @@snip [RetryFlowTest.java](/akka-stream-tests/src/test/java/akka/stream/javadsl/RetryFlowTest.java) { #withBackoff-signature }
|
||||
|
||||
## API documentation
|
||||
|
||||
@apidoc[RetryFlow$]
|
||||
@@@
|
||||
|
||||
## Description
|
||||
|
||||
|
|
|
|||
|
|
@ -4,14 +4,13 @@ Wrap the given @apidoc[FlowWithContext] and retry individual elements in that st
|
|||
|
||||
@ref[Error handling](../index.md#error-handling)
|
||||
|
||||
@@@div { .group-scala }
|
||||
|
||||
## Signature
|
||||
|
||||
Scala
|
||||
: @@signature [RetryFlow.scala](/akka-stream/src/main/scala/akka/stream/scaladsl/RetryFlow.scala) { #withBackoffAndContext }
|
||||
|
||||
Java
|
||||
: @@snip [RetryFlowTest.java](/akka-stream-tests/src/test/java/akka/stream/javadsl/RetryFlowTest.java) { #signature }
|
||||
@@signature [RetryFlow.scala](/akka-stream/src/main/scala/akka/stream/scaladsl/RetryFlow.scala) { #withBackoffAndContext }
|
||||
|
||||
@@@
|
||||
|
||||
## Description
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ Send the elements from the stream to an `ActorRef`.
|
|||
## Signature
|
||||
|
||||
@@signature [Sink.scala](/akka-stream/src/main/scala/akka/stream/scaladsl/Sink.scala) { #actorRef }
|
||||
|
||||
@@@
|
||||
|
||||
## Description
|
||||
|
|
|
|||
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
@@signature [Sink.scala](/akka-stream/src/main/scala/akka/stream/scaladsl/Sink.scala) { #collection }
|
||||
|
||||
@@@
|
||||
|
||||
## Description
|
||||
|
||||
@scala[Collect values emitted from the stream into an arbitrary collection `That`. The resulting collection is available through a `Future[That]` or when the stream completes. Note that the collection boundaries are those defined in the `CanBuildFrom` associated with the chosen collection. See [The Architecture of Scala 2.13's Collections](https://docs.scala-lang.org/overviews/core/architecture-of-scala-213-collections.html) for more info. The [`seq`](seq.html) operator is a shorthand for `Sink.collection[T, Vector[T]]`.]@java[Operator only available in the Scala API. The closest operator in the Java API is [`Sink.seq`](seq.html).]
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ Defer the creation of a `Sink` until materialization and access `Materializer` a
|
|||
## Signature
|
||||
|
||||
@@signature [Sink.scala](/akka-stream/src/main/scala/akka/stream/scaladsl/Sink.scala) { #fromMaterializer }
|
||||
|
||||
@@@
|
||||
|
||||
## Description
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ The `setup` operator has been deprecated, use @ref:[fromMaterializer](./fromMate
|
|||
## Signature
|
||||
|
||||
@@signature [Sink.scala](/akka-stream/src/main/scala/akka/stream/scaladsl/Sink.scala) { #setup }
|
||||
|
||||
@@@
|
||||
|
||||
## Description
|
||||
|
|
|
|||
|
|
@ -4,14 +4,13 @@ Log elements flowing through the stream as well as completion and erroring.
|
|||
|
||||
@ref[Simple operators](../index.md#simple-operators)
|
||||
|
||||
@@@div { .group-scala }
|
||||
|
||||
## Signature
|
||||
|
||||
@@signature [Source.scala](/akka-stream/src/main/scala/akka/stream/scaladsl/Flow.scala) { #logWithMarker }
|
||||
|
||||
Scala
|
||||
: @@signature [Source.scala](/akka-stream/src/main/scala/akka/stream/scaladsl/Flow.scala) { #logWithMarker }
|
||||
|
||||
Java
|
||||
: @@snip [FlowLogWithMarkerTest.java](/akka-stream-tests/src/test/java/akka/stream/javadsl/FlowLogWithMarkerTest.java) { #signature }
|
||||
@@@
|
||||
|
||||
## Description
|
||||
|
||||
|
|
|
|||
|
|
@ -4,13 +4,13 @@ Create a source that emits once the materialized @scala[`Promise`] @java[`Comple
|
|||
|
||||
@ref[Source operators](../index.md#source-operators)
|
||||
|
||||
@@@div { .group-scala }
|
||||
|
||||
## Signature
|
||||
|
||||
Scala
|
||||
: @@signature [Source.scala](/akka-stream/src/main/scala/akka/stream/scaladsl/Source.scala) { #maybe }
|
||||
@@signature [Source.scala](/akka-stream/src/main/scala/akka/stream/scaladsl/Source.scala) { #maybe }
|
||||
|
||||
Java
|
||||
: @@snip [SourceDocExamples.java](/akka-docs/src/test/java/jdocs/stream/operators/SourceDocExamples.java) { #maybe-signature }
|
||||
@@@
|
||||
|
||||
## Description
|
||||
|
||||
|
|
|
|||
|
|
@ -4,13 +4,13 @@ Stream the result of a function as long as it returns a @scala[`Some`] @java[non
|
|||
|
||||
@ref[Source operators](../index.md#source-operators)
|
||||
|
||||
@@@div { .group-scala }
|
||||
|
||||
## Signature
|
||||
|
||||
Scala
|
||||
: @@signature [Source.scala](/akka-stream/src/main/scala/akka/stream/scaladsl/Source.scala) { #unfold }
|
||||
@@signature [Source.scala](/akka-stream/src/main/scala/akka/stream/scaladsl/Source.scala) { #unfold }
|
||||
|
||||
Java
|
||||
: @@snip [SourceUnfoldTest.java](/akka-stream-tests/src/test/java/akka/stream/javadsl/SourceUnfoldTest.java) { #signature }
|
||||
@@@
|
||||
|
||||
## Description
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue