//
//  YSRACGroupedSignal.h
//  ReactiveObjC
//
//  Created by Josh Abernathy on 5/2/12.
//  Copyright (c) 2012 GitHub, Inc. All rights reserved.
//

#import "YSRACSubject.h"

NS_ASSUME_NONNULL_BEGIN

/// A grouped signal is used by -[YSRACSignal groupBy:transform:].
@interface YSRACGroupedSignal : YSRACSubject

/// The key shared by the group.
@property (nonatomic, readonly, copy) id<NSCopying> key;

+ (instancetype)signalWithKey:(id<NSCopying>)key;

@end

NS_ASSUME_NONNULL_END
