I'm using the latest version of Neo4j.Driver.Reactive nuget in C# project. However, the examples don't provide a full working example.
The session API - Neo4j .NET Driver Manual has the following:
public IObservable GetPeople()
{
var session = Driver.RxSession();
return session.ReadTransaction(tx =>
{
return tx.Run("MATCH (a:Person) RETURN a.name ORDER BY a.name")
.Records()
.Select(record => record[0].As());
}).OnErrorResumeNext(session.Close());
}
However, how do I consume/use the records returned?