diff --git a/docs/client/api.html b/docs/client/api.html index ce7d16c1c1..17f92a7b9f 100644 --- a/docs/client/api.html +++ b/docs/client/api.html @@ -90,6 +90,11 @@ Example: // don't care about moved or changed }); + // Observe only returns after the initial added callbacks have + // run. Now mark the subscription as ready. + self.complete(); + self.flush(); + // remove data and turn off observe when client unsubs self.onStop(function () { handle.stop();