@protocol HUBAsyncAction <HUBAction>

Extended action protocol used to define actions that are asynchronous

Asynchronous actions enable you to perform work even after the main performWithContext: method has returned. Once you’re done performing an async action, call its delegate. The Hub Framework will automatically retain any performed asynchronous actions until they have been completed.

  • The action’s delegate

    The Hub Framework will assign an object to this property, so just \@synthesize it, and use the delegate to notify the framework when your action has completed and can safely be released.



    @property (readwrite, nonatomic, nullable) id<HUBAsyncActionDelegate> delegate;