You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by he...@apache.org on 2024/01/08 05:19:06 UTC
(incubator-pekko) branch main updated: chore: Fix typos in onErrorComplete.md (#916)
This is an automated email from the ASF dual-hosted git repository.
hepin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko.git
The following commit(s) were added to refs/heads/main by this push:
new 959c98dba5 chore: Fix typos in onErrorComplete.md (#916)
959c98dba5 is described below
commit 959c98dba58537ac226971efaef576d0ac0fdbbb
Author: kerr <he...@gmail.com>
AuthorDate: Mon Jan 8 13:19:00 2024 +0800
chore: Fix typos in onErrorComplete.md (#916)
---
.../main/paradox/stream/operators/Source-or-Flow/onErrorComplete.md | 4 ++--
docs/src/main/paradox/stream/operators/index.md | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/src/main/paradox/stream/operators/Source-or-Flow/onErrorComplete.md b/docs/src/main/paradox/stream/operators/Source-or-Flow/onErrorComplete.md
index 3b9d47d7f6..0772ce4b43 100644
--- a/docs/src/main/paradox/stream/operators/Source-or-Flow/onErrorComplete.md
+++ b/docs/src/main/paradox/stream/operators/Source-or-Flow/onErrorComplete.md
@@ -1,6 +1,6 @@
# onErrorComplete
-Allows completing the stream when an upstream error occur.
+Allows completing the stream when an upstream error occurs.
@ref[Error handling](../index.md#error-handling)
@@ -13,7 +13,7 @@ Allows completing the stream when an upstream error occur.
## Description
-Allows to complete the stream when an upstream error occur.
+Allows to complete the stream when an upstream error occurs.
## Reactive Streams semantics
diff --git a/docs/src/main/paradox/stream/operators/index.md b/docs/src/main/paradox/stream/operators/index.md
index 2cc47ea67f..d797f53942 100644
--- a/docs/src/main/paradox/stream/operators/index.md
+++ b/docs/src/main/paradox/stream/operators/index.md
@@ -363,7 +363,7 @@ For more background see the @ref[Error Handling in Streams](../stream-error.md)
| |Operator|Description|
|--|--|--|
|Source/Flow|<a name="maperror"></a>@ref[mapError](Source-or-Flow/mapError.md)|While similar to `recover` this operators can be used to transform an error signal to a different one *without* logging it as an error in the process.|
-|Source/Flow|<a name="onerrorcomplete"></a>@ref[onErrorComplete](Source-or-Flow/onErrorComplete.md)|Allows completing the stream when an upstream error occur.|
+|Source/Flow|<a name="onerrorcomplete"></a>@ref[onErrorComplete](Source-or-Flow/onErrorComplete.md)|Allows completing the stream when an upstream error occurs.|
|RestartSource|<a name="onfailureswithbackoff"></a>@ref[onFailuresWithBackoff](RestartSource/onFailuresWithBackoff.md)|Wrap the given @apidoc[Source] with a @apidoc[Source] that will restart it when it fails using an exponential backoff. Notice that this @apidoc[Source] will not restart on completion of the wrapped flow.|
|RestartFlow|<a name="onfailureswithbackoff"></a>@ref[onFailuresWithBackoff](RestartFlow/onFailuresWithBackoff.md)|Wrap the given @apidoc[Flow] with a @apidoc[Flow] that will restart it when it fails using an exponential backoff. Notice that this @apidoc[Flow] will not restart on completion of the wrapped flow.|
|Source/Flow|<a name="recover"></a>@ref[recover](Source-or-Flow/recover.md)|Allow sending of one last element downstream when a failure has happened upstream.|
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org