@interface RACEvent<__covariant ValueType> : NSObject <NSCopying>
+ (RACEvent<ValueType> *)completedEvent;
+ (RACEvent<ValueType> *)eventWithError:(nullable NSError *)error;
+ (RACEvent<ValueType> *)eventWithValue:(nullable ValueType)value;
@property (nonatomic, assign, readonly) RACEventType eventType;
@property (nonatomic, getter = isFinished, assign, readonly) BOOL finished;
@property (nonatomic, strong, readonly, nullable) NSError *error;
@property (nonatomic, strong, readonly, nullable) ValueType value;
@end
网友评论