session-ios/SignalServiceKit/src/Util/OWSDispatch.h
2018-01-10 12:18:29 -05:00

27 lines
533 B
Objective-C

//
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
//
NS_ASSUME_NONNULL_BEGIN
@interface OWSDispatch : NSObject
/**
* Attachment downloading
*/
+ (dispatch_queue_t)attachmentsQueue;
/**
* Signal protocol session state must be coordinated on a serial queue. This is sometimes used synchronously,
* so never dispatching sync *from* this queue to avoid deadlock.
*/
+ (dispatch_queue_t)sessionStoreQueue;
/**
* Serial message sending queue
*/
+ (dispatch_queue_t)sendingQueue;
@end
NS_ASSUME_NONNULL_END