blob: 0ad81d2fcabf3398a75ec015c1708c53f0e7602a [file] [log] [blame]
//
// RACSubscriber+Private.h
// ReactiveCocoa
//
// Created by Justin Spahr-Summers on 2013-06-13.
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
//
#import "RACSubscriber.h"
// A simple block-based subscriber.
@interface RACSubscriber : NSObject <RACSubscriber>
// Creates a new subscriber with the given blocks.
+ (instancetype)subscriberWithNext:(void (^)(id x))next error:(void (^)(NSError *error))error completed:(void (^)(void))completed;
@end