awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
duemunk avatar

duemunk/Async

0
View on GitHub↗
4,565 星标·311 分支·Swift·MIT·3 次浏览

Async

Async 是一个 Swift 库,为 Grand Central Dispatch 提供包装器,以简化异步任务和队列的管理。它作为一个任务调度器,用于代码块的执行、计时和编排。

该项目包含一个任务链式处理器,用于在不同线程间序列化操作而无需嵌套回调结构,以及一个将迭代分布在多个线程上的并发循环包装器。它还具有基于令牌的取消系统,用于在挂起操作运行前从执行队列中跟踪并移除它们。

该库通过协调异步组和同步多个任务以在集体完成后触发操作,涵盖了并发管理功能。

Features

  • GCD-Based Scheduling - Wraps Grand Central Dispatch queues to execute and time asynchronous code blocks on specific system threads.
  • Token-Based Cancellations - Tracks pending operations with unique identifiers to remove them from the execution queue before they run.
  • Token-Based Operation Cancellations - Assigns unique identifiers to pending blocks to locate and remove them from the execution queue before they run.
  • Parallel Loop Transformers - Transforms standard sequential loops into parallel versions for concurrent execution across multiple threads.
  • Parallel Iterators - Runs multiple blocks of code simultaneously by wrapping concurrent iteration functions to reduce total processing time.
  • Asynchronous Task Groups - Coordinates multiple asynchronous tasks to track total progress and wait for the entire set to finish.
  • Concurrent Loop Distributions - Distributes loop operations across multiple threads using dispatch groups to accelerate processing of large datasets.
  • Concurrent Loop Wrappers - Distributes loop iterations across multiple threads using dispatch groups to accelerate data processing.
  • Dispatch Group Synchronizations - Tracks multiple concurrent operations and triggers a final completion block once all tasks in the group finish.
  • Task Group Synchronizations - Uses dispatch groups to monitor multiple concurrent tasks and trigger a final action upon their collective completion.
  • GCD Wrappers - Offers a streamlined Swift interface to simplify the management of asynchronous tasks and queues using Grand Central Dispatch.
  • Asynchronous Callback Chains - Provides a flat syntax for sequencing operations across different threads to eliminate deeply nested callback structures.
  • Asynchronous Task Cancellation - Stops queued blocks of code from executing to prevent unnecessary processing and save system resources.
  • Asynchronous Task Chainers - Sequences operations across different threads to eliminate deeply nested callback structures and pyramid code.
  • Pending Task Cancellations - Stops queued execution blocks to prevent unnecessary processing before they are dispatched to the system.
  • Concurrency and Scheduling - Syntactic sugar for Grand Central Dispatch.
  • Concurrency Tools - Syntactic sugar for GCD asynchronous dispatches.
  • Development Utilities - Syntactic sugar for asynchronous GCD dispatching.
  • Language Extensions - Syntactic sugar for asynchronous dispatch.

Star 历史

duemunk/async 的 Star 历史图表duemunk/async 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

duemunk/async 是做什么的?

Async 是一个 Swift 库,为 Grand Central Dispatch 提供包装器,以简化异步任务和队列的管理。它作为一个任务调度器,用于代码块的执行、计时和编排。

duemunk/async 的主要功能有哪些?

duemunk/async 的主要功能包括:GCD-Based Scheduling, Token-Based Cancellations, Token-Based Operation Cancellations, Parallel Loop Transformers, Parallel Iterators, Asynchronous Task Groups, Concurrent Loop Distributions, Concurrent Loop Wrappers。

duemunk/async 有哪些开源替代品?

duemunk/async 的开源替代品包括: rayon-rs/rayon — Rayon is a data parallelism library for Rust that provides a framework for converting sequential computations into… johnestropia/gcdkit — Grand Central Dispatch simplified with swift. goktugyil/ezswiftextensions. hemantasapkota/gcdtimer — Well-tested GCD Timer in Swift. njhu/iosproject — This project is a collection of Objective-C iOS application demos and code samples. It provides implementations for… joblib/joblib — Joblib is a suite of utilities for parallelizing computational workloads and optimizing the storage of large numerical…

Async 的开源替代方案

相似的开源项目,按与 Async 的功能重合度排序。
  • rayon-rs/rayonrayon-rs 的头像

    rayon-rs/rayon

    13,071在 GitHub 上查看↗

    Rayon is a data parallelism library for Rust that provides a framework for converting sequential computations into parallel operations. It enables the transformation of standard data structures and loops into parallel iterators, allowing workloads to be distributed across multiple processor cores. By utilizing a work-stealing scheduler, the library dynamically balances tasks to maximize throughput and minimize execution time. The library distinguishes itself through its focus on safe, scoped task synchronization, which ensures that all spawned operations complete before a scope exits to preve

    Rust
    在 GitHub 上查看↗13,071
  • johnestropia/gcdkitJohnEstropia 的头像

    JohnEstropia/GCDKit

    316在 GitHub 上查看↗

    Grand Central Dispatch simplified with swift.

    Swift
    在 GitHub 上查看↗316
  • goktugyil/ezswiftextensionsG

    goktugyil/EZSwiftExtensions

    0在 GitHub 上查看↗
    在 GitHub 上查看↗0
  • hemantasapkota/gcdtimerhemantasapkota 的头像

    hemantasapkota/GCDTimer

    192在 GitHub 上查看↗

    Well-tested GCD Timer in Swift

    Swift
    在 GitHub 上查看↗192
查看 Async 的所有 30 个替代方案→