Skip to content

Commit aeaa13f

Browse files
committed
Clarify that KvStore.list() is required, not conditional
1 parent b505205 commit aeaa13f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/manual/kv.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -690,10 +690,10 @@ async cas(
690690

691691
*Since Fedify 2.0.0, this method is required instead of optional.*
692692

693-
If your storage backend supports prefix scanning, implement the
694-
`~KvStore.list()` method. This method allows you to enumerate all entries
695-
whose keys start with a given prefix. This is useful for implementing
696-
batch operations or iterating over related entries.
693+
The `~KvStore.list()` method allows you to enumerate all entries whose keys
694+
start with a given prefix. This is useful for implementing batch operations
695+
or iterating over related entries. If your storage backend supports prefix
696+
scanning, you can use it to implement this method efficiently.
697697

698698
~~~~ typescript twoslash
699699
import type {

0 commit comments

Comments
 (0)