Druid Pagination using Scan

Good morning, I’ve been investigating on how to use pagination on Druid and came across the Select query that was available on older versions but now is deprecated.
Since the functionality has been removed is there any way to deal with pagination on the server side or it can only be dealt with in the client side?
I’m consuming a REST API to issue scan queries.

Thanks.

It can currently only be handled on the client side.