Handling real-time data pagination