From aeb275e1375346fc29af890170466010185393b9 Mon Sep 17 00:00:00 2001 From: clawbot <35+clawbot@noreply.example.org> Date: Mon, 26 Oct 2026 19:32:03 +0100 Subject: [PATCH] README: the close() sentence split in two (closes #231) The sentence in "Opening a library" had a relative clause with its "that" left out, so "returns resolves" read as two verbs in a row. It is now two sentences; the behaviour described is unchanged and matches `close()` in `src/library/index.ts`. Model: fable-5-1 (change); opus-5-5 (landing message) --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8fa5f17..57ae839 100644 --- a/README.md +++ b/README.md @@ -1079,10 +1079,10 @@ cached, so the next fetch asks for it again. The reasons are kept in memory only. `lib.close()` stops the background timer. It can be called more than once. A -refresh in flight is left to finish, with its write to the cache. The promise -`close()` returns resolves once that refresh, the machine-learning fetch and the -background downloads already running have all finished. The cache directory can -then be removed. After `close()`, `fresh()`, `freshCollections()`, +refresh in flight is left to finish, with its write to the cache. `close()` +returns a promise. It resolves once that refresh, the machine-learning fetch and +the background downloads already running have all finished. The cache directory +can then be removed. After `close()`, `fresh()`, `freshCollections()`, `freshFiles()` and `lib.backup()` reject with `the library is closed`. ### Default reads and fresh reads