You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -152,7 +152,7 @@ Register a new middleware.
152
152
before being committed to the database
153
153
*`'commit'`: An operation was applied to a snapshot; The operation
154
154
and new snapshot are about to be written to the database.
155
-
*`'afterSubmit'`: An operation was successfully submitted to
155
+
*`'afterWrite'`: An operation was successfully written to
156
156
the database.
157
157
*`'receive'`: Received a message from a client
158
158
*`'reply'`: About to send a non-error reply to a client message
@@ -321,7 +321,7 @@ Populate the fields on `doc` with a snapshot of the document from the server.
321
321
Populate the fields on `doc` with a snapshot of the document from the server, and
322
322
fire events on subsequent changes.
323
323
324
-
`doc.unsubscribe(function (err) {...})`
324
+
`doc.unsubscribe(function (err) {...})`
325
325
Stop listening for document updates. The document data at the time of unsubscribing remains in memory, but no longer stays up-to-date. Resubscribe with `doc.subscribe`.
0 commit comments