mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
9ead8781d4
Co-authored-by: Alex Martini <amartini@apple.com> Co-authored-by: Graham Lee <glee23@apple.com> Co-authored-by: Chris Adamson <cadamson@apple.com> Co-authored-by: Kirby Turner <kirby_turner@apple.com> Co-authored-by: Paris Pinkney <ppinkney@apple.com> Co-authored-by: Dave Spector <dspector@apple.com> Co-authored-by: Sofia Rodriguez Morales <sofia_rodriguez@apple.com> Co-authored-by: Ethan Kusters <ekusters@apple.com> Co-authored-by: Goli Mohammadi <g_mohammadi@apple.com> Co-authored-by: Adora Vaz <a_vaz@apple.com> Co-authored-by: David Rönnqvist <ronnqvist@apple.com> Co-authored-by: Nate Merseth Cook <natecook@apple.com> Co-authored-by: Susan Conant <susan_c@apple.com>
52 lines
1.3 KiB
Markdown
52 lines
1.3 KiB
Markdown
# ``Swift/AsyncStream``
|
|
|
|
## Topics
|
|
|
|
### Creating a Continuation-Based Stream
|
|
|
|
- ``Swift/AsyncStream/init(_:bufferingPolicy:_:)``
|
|
- ``Swift/AsyncStream/Continuation/BufferingPolicy``
|
|
- ``Swift/AsyncStream/Continuation``
|
|
|
|
### Creating a Stream from an Asynchronous Function
|
|
|
|
- ``Swift/AsyncStream/init(unfolding:onCancel:)``
|
|
|
|
### Finding Elements
|
|
|
|
- ``Swift/AsyncStream/contains(_:)``
|
|
- ``Swift/AsyncStream/contains(where:)``
|
|
- ``Swift/AsyncStream/allSatisfy(_:)``
|
|
- ``Swift/AsyncStream/first(where:)``
|
|
- ``Swift/AsyncStream/min()``
|
|
- ``Swift/AsyncStream/min(by:)``
|
|
- ``Swift/AsyncStream/max()``
|
|
- ``Swift/AsyncStream/max(by:)``
|
|
|
|
### Selecting Elements
|
|
|
|
- ``Swift/AsyncStream/prefix(_:)``
|
|
- ``Swift/AsyncStream/prefix(while:)``
|
|
|
|
### Excluding Elements
|
|
|
|
- ``Swift/AsyncStream/dropFirst(_:)``
|
|
- ``Swift/AsyncStream/drop(while:)``
|
|
- ``Swift/AsyncStream/filter(_:)``
|
|
|
|
### Transforming a Sequence
|
|
|
|
- ``Swift/AsyncStream/map(_:)-58nsf``
|
|
- ``Swift/AsyncStream/map(_:)-4a4la``
|
|
- ``Swift/AsyncStream/compactMap(_:)-7mgjd``
|
|
- ``Swift/AsyncStream/compactMap(_:)-944op``
|
|
- ``Swift/AsyncStream/flatMap(_:)-vhhr``
|
|
- ``Swift/AsyncStream/reduce(_:_:)``
|
|
- ``Swift/AsyncStream/reduce(into:_:)``
|
|
|
|
### Creating an Iterator
|
|
|
|
- ``Swift/AsyncStream/makeAsyncIterator()``
|
|
- ``Swift/AsyncStream/Iterator``
|
|
|