19 #import <ArcGIS/AGSOperation.h> 33 @property (nullable, nonatomic, strong, readonly )
id result;
38 @property (nullable, nonatomic, strong, readonly) NSError *
error;
47 -(void)registerListener:(
id)listener forCompletion:(
void(^)(
id __nullable
result, NSError * __nullable
error))completion;
56 -(void)unregisterListener:(
id)listener;
61 -(BOOL)isRegisteredListener:(
id)listener;
Base class for operations. This adds the ability to register a listener to the AGSOperationBase. It also adds the concept of an error and a result.
Definition: AGSObservableOperation.h:26
Definition: AGSOperation.h:90
NSError * error
Definition: AGSObservableOperation.h:38
id result
Definition: AGSObservableOperation.h:33