Swift Concurrency

Prisma-Labs-Dev/apple-skills/skills/swift-concurrency

作者 Prisma-Labs-Dev498626005e65783ebe8570a103b2335cf397768c无许可证收录于 2026年10月9日更新于 2026年10月9日

API reference: Swift Concurrency. async/await, Task, TaskGroup, actors, AsyncSequence, AsyncStream, continuations.

AI 生成的概览

Swift 并发 API 参考笔记:async/await、Task、TaskGroup、actor、AsyncSequence、AsyncStream 与 continuation。

功能
该技能附带本地 Markdown 参考页面,涵盖 Swift 结构化并发模型,包括 Task、TaskGroup、Actor 协议、AsyncSequence、AsyncStream 和 CheckedContinuation。它指示代理先检索这些本地文件,其次查看其他已安装的 Apple 技能,最后在主题缺失时使用文档镜像路径。它产出的是 API 参考说明,而非可执行代码。
适用场景
在编写或审查 Swift 代码时需要查阅或解释 Swift 并发 API 时使用。适合能够从内置参考页面回答的 async/await、任务、actor 或异步序列相关问题。
运行要求
无需脚本或软件包;该技能由说明和本地 Markdown 文件组成。若代理按文档所述在本地未覆盖的主题上回退到外部文档镜像,则可能需要网络访问。

Swift Concurrency Reference

Structured concurrency, actors, and async sequences in Swift.

Downloaded Reference Files

FileContent
concurrency-overview.md [blocked]Swift concurrency index
task.md [blocked]Task struct
taskgroup.md [blocked]TaskGroup for parallel work
actor.md [blocked]Actor protocol
asyncsequence.md [blocked]AsyncSequence protocol
asyncstream.md [blocked]AsyncStream
checkedcontinuation.md [blocked]CheckedContinuation for bridging

Fetching More Docs

  1. Search this skill's local .md files first.
  2. If the topic is not here, check the other installed Apple skills you have available by their names, descriptions, or SKILL.md frontmatter, then grep their local files. This is faster and uses less context than fetching new docs from the internet.
  3. If no installed skill has the page, use the relevant documentation path from concurrency-overview.md with the sosumi.ai Markdown mirror. For example, /documentation/swift/task maps to https://sosumi.ai/documentation/swift/task.

来源与署名

来源:Prisma-Labs-Dev/apple-skills位于skills/swift-concurrency提交4986260

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架