# RGDispatch **Repository Path**: rain2540/RGDispatch ## Basic Information - **Project Name**: RGDispatch - **Description**: No description available - **Primary Language**: Objective-C - **License**: MPL-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-25 - **Last Updated**: 2024-07-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RGDispatch 本项目是对 Dispatch —— 也称为 Grand Central Dispatch (GCD) —— 的简单封装。为开发者提供面向对象的、可读性稍好的 API。 ## 优先级 ### GCD 在 GCD 中,我们使用 `DispatchQoS` 来标注队列优先级,具体如下表: | 优先级 | RawValue | |:---------------:|:--------:| | background | 9 | | utility | 17 | | default | 21 | | userInitiated | 25 | | userInteractive | 33 | | unspecified | 0 | ### Swift Concurrency 在 Swift Concurrency 中,我们使用 `TaskPriority` 来标注任务优先级,具体如下表: | 优先级 | RawValue | |:---------------:|:--------:| | high | 25 | | medium | 21 | | low | 17 | | userInitiated | 25 | | utility | 17 | | background | 9 |