💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
/////////////////////GlobalLowPriorityQueue/////////////////////// @interface GlobalLowPriorityQueue : NSObject #pragma mark 执行同步任务 ``` + (void)executeSyncTask:(dispatch_block_t)task; ``` #pragma mark 执行异步任务 ``` + (void)executeAsyncTask:(dispatch_block_t)task; ``` #pragma mark 在五个系统提供的队列上,执行延迟任务 ``` + (void)executeDelayTask:(dispatch_block_t)task afterDelaySecs:(NSTimeInterval)sec; ``` #pragma mark 和组相关 ``` /// execute + (void)executeTask:(dispatch_block_t)task inGroup:(GCDGroup*)group; ///notify + (void)notifyTask:(dispatch_block_t)task inGroup:(GCDGroup*)group; ``` #pragma mark 暂停恢复函数,暂停和恢复对应的系统提供的主队列 ``` + (void)suspend; + (void)resume; ``` ``` #pragma mark 迭代函数 + (void)applyExecuteTask:(TaskBlock)task count:(float)count; ``` @end