This function introduces a post-sync hook (Callable) to be provided by users of the MatrixClient so that the hook gets called after every sync. This is added to be able to store "syncToken" as the transport's last updated timestamp to be used later on to define where the sync should start.
This function introduces a post-sync hook (Callable) to be provided by users of the MatrixClient so that the hook gets called after every sync. This is added to be able to store "syncToken" as the transport's last updated timestamp to be used later on to define where the sync should start.
This is part of an overall fix in the following PR: https://github.com/raiden-network/raiden/pull/3090