You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These last three method should become protected, and the main methods of this issue (failed_items, successful_items and remaining_items) will become the real interface.
Subclasses can overrride them or simply invoke the appropriate selected_items_* methods.
By default (because it's the most common situation), failed_items will just invoke selected_items_from_present_messages and successful_items will invoke selected_items_from_nil_messages.
The method remaining_items is always just what's not yet processed, so the tail end of the items list.
Add methods
Adjust all subclasses, as necessary (only those that don't follow the "NIL message means success" convention)
The text was updated successfully, but these errors were encountered:
In the BackgroundActivity core class, provide the following base methods:
We already have the following helpful methods that can be used to implement them:
These last three method should become protected, and the main methods of this issue (
failed_items
,successful_items
andremaining_items
) will become the real interface.Subclasses can overrride them or simply invoke the appropriate selected_items_* methods.
By default (because it's the most common situation),
failed_items
will just invokeselected_items_from_present_messages
andsuccessful_items
will invokeselected_items_from_nil_messages
.The method
remaining_items
is always just what's not yet processed, so the tail end of the items list.The text was updated successfully, but these errors were encountered: