cancel
Showing results for 
Search instead for 
Did you mean: 

Handling infinite result streams

eric13013
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.

0 REPLIES 0
Nodes 2022
Nodes
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.