Skip to content

Commit

Permalink
Updated docs for subscribe
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Jan 19, 2010
1 parent 9bb1ba8 commit f5d24da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -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:

Expand Down

0 comments on commit f5d24da

Please sign in to comment.