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 從公開儲存庫中收錄這些內容。

檢舉或申請下架