fetchNotificationsonSuccess invoked on every notifications update, it looks like socket used there, but there is no direct reference to it in the documentation. listenNotificationReceiveChange(() => {}) - it's exactly the part that makes onSuccess handler invoked (as headlessService?.fetchNotifications option)