def on_update_activity(self, handler) -> '<STR_LIT>':
self._on_update_activity.append(handler)<EOL>return self<EOL>
Registers a handler to be notified of and potentially intercept an activity being updated.
:param handler:
:return: