Browse files

* Update Readme.

  • Loading branch information...
kcbanner committed Apr 25, 2012
1 parent 45d0760 commit bfc03e822c0b6a708ee67c688c4d075f8764ac87
Showing with 4 additions and 0 deletions.
  1. +4 −0
@@ -31,6 +31,10 @@ via npm:
(optional, default: true). This is useful if you are using types that
MongoDB doesn't support.
+The second parameter to the `MongoStore` constructor is a callback which will be called once the database connection is established.
+This is mainly used for the tests, however you can use this callback if you want to wait until the store has connected before
+starting your app.
## Example
With express:

0 comments on commit bfc03e8

Please sign in to comment.