mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Move app to a dedicated folder
This commit is contained in:
19
Telegram/Watch/Extension/SSignalKit/SQueue.h
Normal file
19
Telegram/Watch/Extension/SSignalKit/SQueue.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user