From fd89ed2233e8314d2349933094c8c33f61dd7d7c Mon Sep 17 00:00:00 2001 From: Alex Good Date: Mon, 6 Nov 2023 16:58:56 +0000 Subject: [PATCH] passive -> active --- blog/2023-10-19-automerge-repo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/2023-10-19-automerge-repo.md b/blog/2023-10-19-automerge-repo.md index e315d510..6a44c9ea 100644 --- a/blog/2023-10-19-automerge-repo.md +++ b/blog/2023-10-19-automerge-repo.md @@ -111,7 +111,7 @@ In this latter example we use `DocHandle.whenReady`, which returns a promise whi > handle.change(d => d.foo = "bar") ``` -`DocHandle.on("change")` registers a callback that is called whenever the document is modified – either due to a local change or a sync message being received from another peer. +The `Repo` calls `DocHandle.on("change")` whenever the document is modified – either due to a local change or a sync message being received from another peer. ``` > const handle = repo.find("automerge:4CkUej7mAYnaFMfVnffDipc4Mtvn")