Algorithms for working with AsyncSequence: combining, throttling, debouncing, chunking, and more
Install
npx skillscat add nonameplum/agent-skills/swift-async-algorithms Install via the SkillsCat registry.
We need to produce a 2-3 sentence plain-text summary, objective, factual, no marketing, no superlatives, no calls to action. Must be at most 60 words. Provide summary of skill: Swift Async Algorithms package provides algorithms for AsyncSequence: combining, throttling, debouncing, chunking, etc. Problem: need to work with asynchronous sequences efficiently, handle concurrency patterns. When to use: when developing Swift apps that process streams of async data, need to combine, throttle, debounce, chunk sequences. We must ensure no bullet points, no headings, no markdown. Just plain sentences.
AsyncAlgorithms
Swift Async Algorithms is an open-source package of asynchronous sequence and advanced algorithms that involve concurrency, along with their related types.
Documentation Structure
Getting Started
- AdjacentPairs (Guides/AdjacentPairs.md): [Source |
- AsyncBufferedByteIterator (Guides/BufferedBytes.md): Provides a highly efficient iterator useful for iterating byte sequences derived from asynchronous read functions.
- Chain (Guides/Chain.md): Chains two or more asynchronous sequences together sequentially.
- Channel (Guides/Channel.md): Source,
- Chunked (Guides/Chunked.md): Source,
- Collection Initializers (Guides/Collections.md): Source,
- Combine Latest (Guides/CombineLatest.md): Combines the latest values produced from two or more asynchronous sequences into an asynchronous sequence of tuples.
- Compacted (Guides/Compacted.md): Source |
- Debounce (Guides/Debounce.md): Source |
- Effects (Guides/Effects.md): Lists the effects of all async algorithms.
- Intersperse (Guides/Intersperse.md): Places a given value in between each element of the asynchronous sequence.
- Joined (Guides/Joined.md): Source |
- AsyncSyncSequence (Guides/Lazy.md): This operation is available for all
Sequencetypes. - Merge (Guides/Merge.md): Merges two or more asynchronous sequences sharing the same element type into one singular asynchronous sequence.
- Reductions (Guides/Reductions.md): Source |
- RemoveDuplicates (Guides/RemoveDuplicates.md): Source |
- Share (Guides/Share.md): Source |
- Throttle (Guides/Throttle.md): Source |
- Timer (Guides/Timer.md): Source |
- Zip (Guides/Zip.md): Combines the latest values produced from two or more asynchronous sequences into an asynchronous sequence of tuples.
Usage Notes
- Documentation is organized progressively from getting started to advanced topics
- Start with the Introduction or Getting Started section
- Consult specific guides for detailed information
License & Attribution
This skill contains content converted from DocC documentation format.