 //
 
 import SwiftyUserDefaults
+import PromiseKit
 
 
 struct NewContentNotifications {

    fileprivate var resumeObserver: NotificationObserver?
    fileprivate var postCreatedObserver: NotificationObserver?

    init(){
        pauseObserver = NotificationObserver(notification: NewContentNotifications.pause) { [weak self] _ in
            self?.pauseCount += 1
        }

                if let statusCode = responseConfig.statusCode, statusCode == 204 {
                    postNotification(NewContentNotifications.newFollowingContent, value: ())
                }
            }
    }
}
