GRPC Objective-C
1.71.0
|
Utility to create objects that conform to the GRXWriteable protocol, from blocks that handle each of the two methods of the protocol. More...
#import <GRXWriteable.h>
Instance Methods | |
(instancetype) | - initWithValueHandler:completionHandler: |
![]() | |
(void) | - writeValue: |
Push the next value of the sequence to the receiving object. More... | |
(void) | - writesFinishedWithError: |
Signal that the sequence is completed, or that an error occurred. More... | |
Class Methods | |
(instancetype) | + writeableWithSingleHandler: |
(instancetype) | + writeableWithEventHandler: |
Utility to create objects that conform to the GRXWriteable protocol, from blocks that handle each of the two methods of the protocol.
- (instancetype) initWithValueHandler: | (GRXValueHandler) | valueHandler | |
completionHandler: | (GRXCompletionHandler) | NS_DESIGNATED_INITIALIZER | |
+ (instancetype) writeableWithEventHandler: | (GRXEventHandler) | handler |
+ (instancetype) writeableWithSingleHandler: | (GRXSingleHandler) | handler |