Related to #23. All operations now have to implement only start (required by Operation) and success methods. The success method's parameter is generic and the type it must match the type of response. Supported generic responses are now:
.responseJSON <=> success(result: Any)
.responseData <=> success(result: Data)
.responseObject <=> success(result: Object) // Object and its subclasses
.responseObjectsCollection <=> success(result: [Object]) // Collection of objects
.responseVoid <=> success(result: Void)
Related to #23. All operations now have to implement only
start
(required by Operation) andsuccess
methods. Thesuccess
method's parameter is generic and the type it must match the type of response. Supported generic responses are now:All Edux operations are now reimplemented.