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/25 17:54:05 UTC
(incubator-pekko) 01/01: chore: Add @since to flatten operator.
This is an automated email from the ASF dual-hosted git repository.
hepin pushed a commit to branch He-Pin-patch-3
in repository https://gitbox.apache.org/repos/asf/incubator-pekko.git
commit b1b15bec9af12430d164581be436033a85e573e9
Author: He-Pin(kerr) <he...@gmail.com>
AuthorDate: Fri Jan 26 01:53:59 2024 +0800
chore: Add @since to flatten operator.
---
stream/src/main/scala/org/apache/pekko/stream/scaladsl/Flow.scala | 2 ++
1 file changed, 2 insertions(+)
diff --git a/stream/src/main/scala/org/apache/pekko/stream/scaladsl/Flow.scala b/stream/src/main/scala/org/apache/pekko/stream/scaladsl/Flow.scala
index 250af8cd24..d40f4e1e39 100755
--- a/stream/src/main/scala/org/apache/pekko/stream/scaladsl/Flow.scala
+++ b/stream/src/main/scala/org/apache/pekko/stream/scaladsl/Flow.scala
@@ -2678,6 +2678,8 @@ trait FlowOps[+Out, +Mat] {
* '''Completes when''' upstream completes and all consumed substreams complete
*
* '''Cancels when''' downstream cancels
+ *
+ * @since 1.1.0
*/
def flatten[T, M](implicit ev: Out <:< Graph[SourceShape[T], M]): Repr[T] = flatMap(ev)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org