Browse files

Updated docs for subscribe

  • Loading branch information...
1 parent 9bb1ba8 commit f5d24da73e48346a730324fbac7d34b54355732a @kriszyp kriszyp committed Jan 19, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.md
View
3 README.md
@@ -146,6 +146,9 @@ when the record does not already exist. Stores do not need to implement this
method, but may implement for ease of differentiating between creation of new
records and updates. This should return the identifier of the newly create record.
+subscribe(resource, callback) - Subscribes to changes in the given resource or set of
+resources. The callback is called whenever data is changed in the monitored resource(s).
+
transaction() - If it exists, this is called when a transaction is started. This should return
a transaction object with the following two functions:

0 comments on commit f5d24da

Please sign in to comment.