mfenniak / rethinkdb-net

A C# / .NET client driver for RethinkDB.
Other
247 stars 37 forks source link

Reactive example for .NET/C# client #225

Open caxelrud opened 8 years ago

caxelrud commented 8 years ago

Can you include an example that shows how to create a reactive application with .NET/C# client using "changefeed" capability. It may be by raising an Event or, even better, by Observable-Observer pattern (Reactive Extensions)?

mfenniak commented 8 years ago

Hi @caxelrud. We have an example in the repo of using a changefeed monitoring thread here: https://github.com/mfenniak/rethinkdb-net/blob/master/Examples/RethinkDb.Examples.ConsoleApp/Program.cs. This is the only documentation / example I have handy; it'd be pretty easy to modify it to fire an event.

That's the nearest thing I have right now for what you're looking for, but, I'll leave this issue open as an area where we need better docs.

francisminu commented 6 years ago

@caxelrud Hi, do you have any examples with Query change feeds and not the table?