Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
FuturistiCoder authored Aug 25, 2020
1 parent 6b87f70 commit d8bed62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ using (var db = new RealtimeLiteDatabase(new MemoryStream()))

// docuement subscription
// subscribe with System.Reactive extensions
db.Realtime.Collection<Item>("items").Id(new BsonValue(newItem.Id)).Subscribe(item => receivedItem = item);
db.Realtime.Collection<Item>("items").Id(newItem.Id).Subscribe(item => receivedItem = item);

// collection subscription
// subscribe with System.Reactive extensions
Expand Down

0 comments on commit d8bed62

Please sign in to comment.