Copilot commented on code in PR #2562:
URL: https://github.com/apache/pekko/pull/2562#discussion_r2599702928
##########
stream/src/main/scala/org/apache/pekko/stream/scaladsl/Source.scala:
##########
@@ -411,6 +413,26 @@ object Source {
}
}
+ /**
+ * Helper to create [[Source]] from `Seq`.
+ * Example usage: `Source(Seq(1,2,3))`
+ *
+ * Starts a new `Source` from the given `Iterable`. This is like starting
from an
Review Comment:
The documentation describes the method as working with an `Iterable`, but
this method signature specifically accepts `immutable.Seq[T]`. The description
should be updated to say "Starts a new `Source` from the given `Seq`." to
accurately reflect the method signature.
```suggestion
* Starts a new `Source` from the given `Seq`. This is like starting from
an
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]