Is there an easy way to get the query results through the SDKs?

I saw in AWS docs that it’s needed to call leader-board query every second to get real-time data. Is there any SDK feature with socket io for real-time so we could just listen to that for the latest query data?

Currently, we do not use sockets to stream query data. We recommend using Query lambdas at this point, which exposes the results of your query through a dedicated REST endpoint. Your application can hit this REST endpoint as frequently as needed and will return the results within milliseconds.

Query Lambdas