swift-concurrency

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Swift Concurrency Reference

Swift Concurrency 参考

Structured concurrency, actors, and async sequences in Swift.
Swift中的结构化并发、actors和异步序列。

Downloaded Reference Files

已下载的参考文件

FileContent
concurrency-overview.mdSwift concurrency index
task.mdTask struct
taskgroup.mdTaskGroup for parallel work
actor.mdActor protocol
asyncsequence.mdAsyncSequence protocol
asyncstream.mdAsyncStream
checkedcontinuation.mdCheckedContinuation for bridging
文件内容
concurrency-overview.mdSwift 并发索引
task.mdTask 结构体
taskgroup.md用于并行任务的 TaskGroup
actor.mdActor 协议
asyncsequence.mdAsyncSequence 协议
asyncstream.mdAsyncStream
checkedcontinuation.md用于桥接的 CheckedContinuation

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
    .
  1. 优先搜索本 skill 的本地
    .md
    文件。
  2. 如果此处没有相关主题,可通过名称、描述或
    SKILL.md
    的前页内容检查你已安装的其他 Apple skill,然后 grep 它们的本地文件。这种方式比从互联网获取新文档速度更快,消耗的上下文也更少。
  3. 如果已安装的 skill 都没有对应页面,请使用
    concurrency-overview.md
    中的相关文档路径搭配
    sosumi.ai
    Markdown 镜像访问。例如,
    /documentation/swift/task
    对应的地址是
    https://sosumi.ai/documentation/swift/task