ReactiveObjC (六) ( RACSignal (Operations) )

@interface RACSignal<__covariant ValueType> (Operations)
- (RACSignal *)doNext:(void (^)(ValueType _Nullable x))block RAC_WARN_UNUSED_RESULT;
- (RACSignal *)doError:(void (^)(NSError * _Nonnull error))block RAC_WARN_UNUSED_RESULT;
- (RACSignal *)doCompleted:(void (^)(void))block RAC_WARN_UNUSED_RESULT;
- (RACSignal *)throttle:(NSTimeInterval)interval RAC_WARN_UNUSED_RESULT;
- (RACSignal *)throttle:(NSTimeInterval)interval valuesPassingTest:(BOOL (^)(id _Nullable next))predicate RAC_WARN_UNUSED_RESULT;
- (RACSignal *)delay:(NSTimeInterval)interval RAC_WARN_UNUSED_RESULT;
- (RACSignal *)repeat RAC_WARN_UNUSED_RESULT;
- (RACSignal *)initially:(void (^)(void))block RAC_WARN_UNUSED_RESULT;
- (RACSignal *)finally:(void (^)(void))block RAC_WARN_UNUSED_RESULT;
- (RACSignal *)bufferWithTime:(NSTimeInterval)interval onScheduler:(RACScheduler *)scheduler;
- (RACSignal *> *)collect RAC_WARN_UNUSED_RESULT;
- (RACSignal *)takeLast:(NSUInteger)count RAC_WARN_UNUSED_RESULT;
- (RACSignal *> *)combineLatestWith:(RACSignal *)signal RAC_WARN_UNUSED_RESULT;
+ (RACSignal *)combineLatest:(id)signals RAC_WARN_UNUSED_RESULT;
+ (RACSignal *)combineLatest:(id)signals reduce:(ValueType _Nullable (^)())reduceBlock RAC_WARN_UNUSED_RESULT;
- (RACSignal *)merge:(RACSignal *)signal RAC_WARN_UNUSED_RESULT;
+ (RACSignal *)merge:(id)signals RAC_WARN_UNUSED_RESULT;
- (RACSignal *)flatten:(NSUInteger)maxConcurrent RAC_WARN_UNUSED_RESULT;
- (RACSignal *)then:(RACSignal * (^)(void))block RAC_WARN_UNUSED_RESULT;
- (RACSignal *)concat RAC_WARN_UNUSED_RESULT;
- (RACSignal *)aggregateWithStart:(id)start reduce:(id (^)(id running, id next))reduceBlock RAC_WARN_UNUSED_RESULT;
- (RACSignal *)aggregateWithStart:(id)start reduceWithIndex:(id (^)(id running, id next, NSUInteger index))reduceBlock RAC_WARN_UNUSED_RESULT;
- (RACSignal *)aggregateWithStartFactory:(id (^)(void))startFactory reduce:(id (^)(id running, id next))reduceBlock RAC_WARN_UNUSED_RESULT;
- (RACDisposable *)setKeyPath:(NSString *)keyPath onObject:(NSObject *)object;
- (RACDisposable *)setKeyPath:(NSString *)keyPath onObject:(NSObject *)object nilValue:(nullable id)nilValue;
+ (RACSignal *)interval:(NSTimeInterval)interval onScheduler:(RACScheduler *)scheduler RAC_WARN_UNUSED_RESULT;
+ (RACSignal *)interval:(NSTimeInterval)interval onScheduler:(RACScheduler *)scheduler withLeeway:(NSTimeInterval)leeway RAC_WARN_UNUSED_RESULT;
- (RACSignal *)takeUntil:(RACSignal *)signalTrigger RAC_WARN_UNUSED_RESULT;
- (RACSignal *)takeUntilReplacement:(RACSignal *)replacement RAC_WARN_UNUSED_RESULT;
- (RACSignal *)catch:(RACSignal * (^)(NSError * _Nonnull error))catchBlock RAC_WARN_UNUSED_RESULT;
- (RACSignal *)catchTo:(RACSignal *)signal RAC_WARN_UNUSED_RESULT;
+ (RACSignal *)try:(nullable ValueType (^)(NSError **errorPtr))tryBlock RAC_WARN_UNUSED_RESULT;
- (RACSignal *)try:(BOOL (^)(id _Nullable value, NSError **errorPtr))tryBlock RAC_WARN_UNUSED_RESULT;
- (RACSignal *)tryMap:(id (^)(id _Nullable value, NSError **errorPtr))mapBlock RAC_WARN_UNUSED_RESULT;
- (nullable ValueType)first;
- (nullable ValueType)firstOrDefault:(nullable ValueType)defaultValue;
- (nullable ValueType)firstOrDefault:(nullable ValueType)defaultValue success:(nullable BOOL *)success error:(NSError * _Nullable * _Nullable)error;
- (BOOL)waitUntilCompleted:(NSError * _Nullable * _Nullable)error;
+ (RACSignal *)defer:(RACSignal * (^)(void))block RAC_WARN_UNUSED_RESULT;
- (RACSignal *)switchToLatest RAC_WARN_UNUSED_RESULT;
+ (RACSignal *)switch:(RACSignal *)signal cases:(NSDictionary *)cases default:(nullable RACSignal *)defaultSignal RAC_WARN_UNUSED_RESULT;
+ (RACSignal *)if:(RACSignal *)boolSignal then:(RACSignal *)trueSignal else:(RACSignal *)falseSignal RAC_WARN_UNUSED_RESULT;
- (nullable NSArray *)toArray;
@property (nonatomic, strong, readonly) RACSequence *sequence;
- (RACMulticastConnection *)publish RAC_WARN_UNUSED_RESULT;
- (RACMulticastConnection *)multicast:(RACSubject *)subject RAC_WARN_UNUSED_RESULT;
- (RACSignal *)replay;
- (RACSignal *)replayLast;
- (RACSignal *)replayLazily;
- (RACSignal *)timeout:(NSTimeInterval)interval onScheduler:(RACScheduler *)scheduler RAC_WARN_UNUSED_RESULT;
- (RACSignal *)deliverOn:(RACScheduler *)scheduler RAC_WARN_UNUSED_RESULT;
- (RACSignal *)subscribeOn:(RACScheduler *)scheduler RAC_WARN_UNUSED_RESULT;
- (RACSignal *)deliverOnMainThread RAC_WARN_UNUSED_RESULT;
- (RACSignal *)groupBy:(id _Nullable (^)(id _Nullable object))keyBlock transform:(nullable id _Nullable (^)(id _Nullable object))transformBlock  RAC_WARN_UNUSED_RESULT;
- (RACSignal *)groupBy:(id _Nullable (^)(id _Nullable object))keyBlock  RAC_WARN_UNUSED_RESULT;
- (RACSignal *)any RAC_WARN_UNUSED_RESULT;
- (RACSignal *)any:(BOOL (^)(id _Nullable object))predicateBlock RAC_WARN_UNUSED_RESULT;
- (RACSignal *)all:(BOOL (^)(id _Nullable object))predicateBlock RAC_WARN_UNUSED_RESULT;
- (RACSignal *)retry:(NSInteger)retryCount RAC_WARN_UNUSED_RESULT;
- (RACSignal *)retry RAC_WARN_UNUSED_RESULT;
- (RACSignal *)sample:(RACSignal *)sampler RAC_WARN_UNUSED_RESULT;
- (RACSignal *)ignoreValues RAC_WARN_UNUSED_RESULT;
- (RACSignal *> *)materialize RAC_WARN_UNUSED_RESULT;
- (RACSignal *)dematerialize RAC_WARN_UNUSED_RESULT;

你可能感兴趣的:(ReactiveObjC (六) ( RACSignal (Operations) ))