//
//  NSNotificationCenter+YSRACSupport.h
//  ReactiveObjC
//
//  Created by Josh Abernathy on 5/10/12.
//  Copyright (c) 2012 GitHub. All rights reserved.
//

#import <Foundation/Foundation.h>

@class YSRACSignal<__covariant ValueType>;

NS_ASSUME_NONNULL_BEGIN

@interface NSNotificationCenter (YSRACSupport)

// Sends the NSNotification every time the notification is posted.
- (YSRACSignal<NSNotification *> *)ysrac_addObserverForName:(nullable NSString *)notificationName object:(nullable id)object;

@end

NS_ASSUME_NONNULL_END
