Created
June 7, 2014 00:51
-
-
Save nisbus/1f524f6279319b8e356b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void TestChanges() | |
{ | |
var session = new CloudantSession("https://user.cloudant.com"); | |
session.Changes<dynamic>("some_db", FeedType.longpoll, include_docs: true).Subscribe(doc => | |
{ | |
Console.WriteLine(doc); | |
}, | |
(e) => Console.WriteLine("Error "+e)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment