RACEvent Class Reference
Inherits from | NSObject |
Conforms to | NSCopying |
Declared in | RACEvent.h RACEvent.m |
Tasks
-
+ completedEvent
-
+ eventWithError:
-
+ eventWithValue:
-
eventType
property -
finished
property -
error
property -
value
property
Properties
error
The error associated with an event of type RACEventTypeError. This will be nil for all other event types.
@property (nonatomic, strong, readonly) NSError *error
Declared In
RACEvent.h
eventType
The type of event represented by the receiver.
@property (nonatomic, assign, readonly) RACEventType eventType
Declared In
RACEvent.h
Class Methods
completedEvent
Returns a singleton RACEvent representing the completed
event.
+ (instancetype)completedEvent
Declared In
RACEvent.h
eventWithError:
Returns a new event of type RACEventTypeError, containing the given error.
+ (instancetype)eventWithError:(NSError *)error
Declared In
RACEvent.h
eventWithValue:
Returns a new event of type RACEventTypeNext, containing the given value.
+ (instancetype)eventWithValue:(id)value
Declared In
RACEvent.h