Skip to content

Commit

Permalink
docs: pubkey#763 (replicationState.active$)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafamel committed Sep 14, 2018
1 parent 224b939 commit 594f574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs-src/replication.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ replicationState.denied$.subscribe(docData => console.dir(docData));
```

### active$
Emits `true` or `false` depending if the replication is running. For example if you sync with a remote server and the connection dies, this is `false` until the connection can be reestablished.
Emits `true` or `false` depending if the replication is transmitting data. A `false` value does not imply the connection has died.

```js
replicationState.active$.subscribe(active => console.dir(active));
Expand Down

0 comments on commit 594f574

Please sign in to comment.