async def _get_list_users(self, f: str, list_id: str, count: int, cursor: str) -> Result[User]:
        """
        Base function to retrieve the users associated with a list.
        """
        response, _ = await f(list_id, count, cursor)

        items = find_dict(response, 'entries', find_one=True)[0]
        results = []
        for item in items:
            entry_id = item['entryId']
            if entry_id.startswith('user'):
                user_info = find_dict(item, 'result', find_one=True)[0]
                results.append(User(self, user_info))
            elif entry_id.startswith('cursor-bottom'):
                next_cursor = item['content']['value']
                break

        return Result(
            results,
            partial(self._get_list_users, f, list_id, count, next_cursor),
            next_cursor
        )

        Base function to retrieve the users associated with a list.
        
twikit/client/client.py