mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-13 14:59:23 +00:00

git-subtree-dir: submodules/SSignalKit git-subtree-mainline: 4459dc5b47e7db4ea1adb3a43a4324d1c2f9feab git-subtree-split: 359b2ee7c9f20f99f221f78e307369ef5ad0ece2
20 lines
463 B
Objective-C
20 lines
463 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@interface SQueue : NSObject
|
|
|
|
+ (SQueue *)mainQueue;
|
|
+ (SQueue *)concurrentDefaultQueue;
|
|
+ (SQueue *)concurrentBackgroundQueue;
|
|
|
|
+ (SQueue *)wrapConcurrentNativeQueue:(dispatch_queue_t)nativeQueue;
|
|
|
|
- (void)dispatch:(dispatch_block_t)block;
|
|
- (void)dispatchSync:(dispatch_block_t)block;
|
|
- (void)dispatch:(dispatch_block_t)block synchronous:(bool)synchronous;
|
|
|
|
- (dispatch_queue_t)_dispatch_queue;
|
|
|
|
- (bool)isCurrentQueue;
|
|
|
|
@end
|