Showing results for 
Search instead for 
Did you mean: 

Handling infinite result streams

Node Clone

From the org.neo4j.driver.v1.StatementRunner javadoc :

While these semantics introduce some complexity, it gives the driver the ability to handle infinite result streams (like subscribing to events), significantly lowers the memory overhead for your application and improves performance.

Do you have an example of code of how to handle an infinite result streams for a cypher query with java async driver ? I would like to subscribe to a cypher query result, getting the next results even after stream reach end, without to have to re-ask for the same query result.

Nodes 2022
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.