Non-blocking asynchronous queries in 3.0.x

How do non-blocking asynchronous queries in 3.0.x without deprecated methods?
The documentation example is deprecated:
I use version 3.0.20.

Hi @walisonmoreira

The old API was deprecated because it did not work properly and it was hard to make it work in current transaction lifecycle.

There is no direct alternative now, but probably you can check live queries and see if they fit your use case