'Register a function to be called when a :class:`Task` has finished processing this entry.
:param func: The function to call
:param kwargs: Keyword arguments that should be passed to the registered function'

def on_complete(self, func, **kwargs):

    self.add_hook(u'complete', func, **kwargs)
