mirror of
https://github.com/apple/swift-async-algorithms
synced 2026-11-29 04:54:21 +00:00
Light edit on guides and sequence source docs (rdar://90176127) (#86)
* Light-touch edit on existing guides. * Light edit on the sequences' source docs. Co-authored-by: Chris Adamson <cadamson@apple.com>
This commit is contained in:
1 parent
571bfd1a60
commit
5ac8bb4d07
17 files changed
+95
-78
No files matched your search
@@ -11,7 +11,7 @@
|
||||
|
||||
extension Sequence {
|
||||
/// An asynchronous sequence containing the same elements as this sequence,
|
||||
/// but on which operations, such as `map` and `filter`, are
|
||||
/// but on which operations, such as `map` and `filter`, are
|
||||
/// implemented asynchronously.
|
||||
@inlinable
|
||||
public var async: AsyncLazySequence<Self> {
|
||||
@@ -26,7 +26,7 @@ extension Sequence {
|
||||
/// asynchronous sequences.
|
||||
///
|
||||
/// This functions similarly to `LazySequence` by accessing elemetns sequentially
|
||||
/// in the iterators next method.
|
||||
/// in the iterator's `next()` method.
|
||||
@frozen
|
||||
public struct AsyncLazySequence<Base: Sequence>: AsyncSequence {
|
||||
public typealias Element = Base.Element
|
||||
|
||||
Reference in new issue
Block a user