#import <GRXWriteable.h>
Instance Methods | |
(instancetype) | - initWithValueHandler:completionHandler: |
![]() | |
(void) | - writesFinishedWithError: |
(void) | - writeValue: |
Class Methods | |
(instancetype) | + writeableWithEventHandler: |
(instancetype) | + writeableWithSingleHandler: |
Utility to create objects that conform to the GRXWriteable protocol, from blocks that handle each of the two methods of the protocol.
Definition at line 47 of file GRXWriteable.h.
- (instancetype) initWithValueHandler: | (GRXValueHandler) | valueHandler | |
completionHandler: | (GRXCompletionHandler) | NS_DESIGNATED_INITIALIZER | |
+ (instancetype) writeableWithEventHandler: | (GRXEventHandler) | handler |
+ (instancetype) writeableWithSingleHandler: | (GRXSingleHandler) | handler |