Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add special null value handling doc for mapAsync and mapAsyncUnordered #869

Merged
merged 1 commit into from
Dec 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,8 @@ final class Flow[In, Out, Mat](delegate: scaladsl.Flow[In, Out, Mat]) extends Gr
*
* If the function `f` throws an exception or if the `CompletionStage` is completed
* with failure and the supervision decision is [[pekko.stream.Supervision#resume]] or
* [[pekko.stream.Supervision#restart]] the element is dropped and the stream continues.
* [[pekko.stream.Supervision#restart]] or the `CompletionStage` completed with `null`,
* the element is dropped and the stream continues.
*
* The function `f` is always invoked on the elements in the order they arrive.
*
Expand Down Expand Up @@ -919,7 +920,8 @@ final class Flow[In, Out, Mat](delegate: scaladsl.Flow[In, Out, Mat]) extends Gr
*
* If the function `f` throws an exception or if the `CompletionStage` is completed
* with failure and the supervision decision is [[pekko.stream.Supervision#resume]] or
* [[pekko.stream.Supervision#restart]] the element is dropped and the stream continues.
* [[pekko.stream.Supervision#restart]] or the `CompletionStage` completed with `null`,
* the element is dropped and the stream continues.
*
* The function `f` is always invoked on the elements in the order they arrive (even though the result of the futures
* returned by `f` might be emitted in a different order).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2495,7 +2495,8 @@ final class Source[Out, Mat](delegate: scaladsl.Source[Out, Mat]) extends Graph[
*
* If the function `f` throws an exception or if the `CompletionStage` is completed
* with failure and the supervision decision is [[pekko.stream.Supervision#resume]] or
* [[pekko.stream.Supervision#restart]] the element is dropped and the stream continues.
* [[pekko.stream.Supervision#restart]] or the `CompletionStage` completed with `null`,
* the element is dropped and the stream continues.
*
* The function `f` is always invoked on the elements in the order they arrive.
*
Expand Down Expand Up @@ -2595,7 +2596,8 @@ final class Source[Out, Mat](delegate: scaladsl.Source[Out, Mat]) extends Graph[
*
* If the function `f` throws an exception or if the `CompletionStage` is completed
* with failure and the supervision decision is [[pekko.stream.Supervision#resume]] or
* [[pekko.stream.Supervision#restart]] the element is dropped and the stream continues.
* [[pekko.stream.Supervision#restart]] or the `CompletionStage` completed with `null`,
* the element is dropped and the stream continues.
*
* The function `f` is always invoked on the elements in the order they arrive (even though the result of the CompletionStages
* returned by `f` might be emitted in a different order).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,8 @@ class SubFlow[In, Out, Mat](
*
* If the function `f` throws an exception or if the `CompletionStage` is completed
* with failure and the supervision decision is [[pekko.stream.Supervision#resume]] or
* [[pekko.stream.Supervision#restart]] the element is dropped and the stream continues.
* [[pekko.stream.Supervision#restart]] or the `CompletionStage` completed with `null`,
* the element is dropped and the stream continues.
*
* The function `f` is always invoked on the elements in the order they arrive.
*
Expand Down Expand Up @@ -328,7 +329,8 @@ class SubFlow[In, Out, Mat](
*
* If the function `f` throws an exception or if the `CompletionStage` is completed
* with failure and the supervision decision is [[pekko.stream.Supervision#resume]] or
* [[pekko.stream.Supervision#restart]] the element is dropped and the stream continues.
* [[pekko.stream.Supervision#restart]] or the `CompletionStage` completed with `null`,
* the element is dropped and the stream continues.
*
* The function `f` is always invoked on the elements in the order they arrive (even though the result of the CompletionStages
* returned by `f` might be emitted in a different order).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ class SubSource[Out, Mat](
*
* If the function `f` throws an exception or if the `CompletionStage` is completed
* with failure and the supervision decision is [[pekko.stream.Supervision#resume]] or
* [[pekko.stream.Supervision#restart]] the element is dropped and the stream continues.
* [[pekko.stream.Supervision#restart]] or the `CompletionStage` completed with `null`,
* the element is dropped and the stream continues.
*
* The function `f` is always invoked on the elements in the order they arrive.
*
Expand Down Expand Up @@ -319,7 +320,8 @@ class SubSource[Out, Mat](
*
* If the function `f` throws an exception or if the `CompletionStage` is completed
* with failure and the supervision decision is [[pekko.stream.Supervision#resume]] or
* [[pekko.stream.Supervision#restart]] the element is dropped and the stream continues.
* [[pekko.stream.Supervision#restart]] or the `CompletionStage` completed with `null`,
* the element is dropped and the stream continues.
*
* The function `f` is always invoked on the elements in the order they arrive (even though the result of the futures
* returned by `f` might be emitted in a different order).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,8 @@ trait FlowOps[+Out, +Mat] {
*
* If the function `f` throws an exception or if the `Future` is completed
* with failure and the supervision decision is [[pekko.stream.Supervision.Resume]] or
* [[pekko.stream.Supervision.Restart]] the element is dropped and the stream continues.
* [[pekko.stream.Supervision.Restart]] or the `Future` completed with `null`,
* the element is dropped and the stream continues.
*
* The function `f` is always invoked on the elements in the order they arrive.
*
Expand Down Expand Up @@ -1123,7 +1124,8 @@ trait FlowOps[+Out, +Mat] {
*
* If the function `f` throws an exception or if the `Future` is completed
* with failure and the supervision decision is [[pekko.stream.Supervision.Resume]] or
* [[pekko.stream.Supervision.Restart]] the element is dropped and the stream continues.
* [[pekko.stream.Supervision.Restart]] or the `Future` completed with `null`,
* the element is dropped and the stream continues.
*
* The function `f` is always invoked on the elements in the order they arrive (even though the result of the futures
* returned by `f` might be emitted in a different order).
Expand Down
Loading