File tree 2 files changed +2
-2
lines changed
stream/src/main/scala/org/apache/pekko/stream
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ object Source {
102
102
* Source.from(() -> data.iterator());
103
103
* }}}
104
104
*
105
- * Start a new `Source` from the given Iterator. The produced stream of elements
105
+ * Start a new `Source` from the given function that produces an Iterator. The produced stream of elements
106
106
* will continue until the iterator runs empty or fails during evaluation of
107
107
* the `next()` method. Elements are pulled out of the iterator
108
108
* in accordance with the demand coming from the downstream transformation
Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ object Source {
272
272
* Helper to create [[Source ]] from `Iterator`.
273
273
* Example usage: `Source.fromIterator(() => Iterator.from(0))`
274
274
*
275
- * Start a new `Source` from the given function that produces anIterator .
275
+ * Start a new `Source` from the given function that produces an Iterator .
276
276
* The produced stream of elements will continue until the iterator runs empty
277
277
* or fails during evaluation of the `next()` method.
278
278
* Elements are pulled out of the iterator in accordance with the demand coming
You can’t perform that action at this time.
0 commit comments