chore: Fix typo for Source.fromIterator operator. (#1242)
This commit is contained in:
parent
a2835b029d
commit
aba2785428
2 changed files with 2 additions and 2 deletions
|
|
@ -102,7 +102,7 @@ object Source {
|
|||
* Source.from(() -> data.iterator());
|
||||
* }}}
|
||||
*
|
||||
* Start a new `Source` from the given Iterator. The produced stream of elements
|
||||
* Start a new `Source` from the given function that produces an Iterator. The produced stream of elements
|
||||
* will continue until the iterator runs empty or fails during evaluation of
|
||||
* the `next()` method. Elements are pulled out of the iterator
|
||||
* in accordance with the demand coming from the downstream transformation
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@ object Source {
|
|||
* Helper to create [[Source]] from `Iterator`.
|
||||
* Example usage: `Source.fromIterator(() => Iterator.from(0))`
|
||||
*
|
||||
* Start a new `Source` from the given function that produces anIterator.
|
||||
* Start a new `Source` from the given function that produces an Iterator.
|
||||
* The produced stream of elements will continue until the iterator runs empty
|
||||
* or fails during evaluation of the `next()` method.
|
||||
* Elements are pulled out of the iterator in accordance with the demand coming
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue