Skip to content

Commit b3bd3fa

Browse files
docs(persistQueryClient): enable unsubscribe note
1 parent a1584d3 commit b3bd3fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pages/plugins/persistQueryClient.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ persistQueryClientSubscribe({
124124

125125
### `persistQueryClient`
126126

127-
This will automatically restore any persisted cache and permanently subscribe to the query cache to persist any changes from the query cache to the persister.
127+
This will automatically restore any persisted cache and subscribes to the query cache to persist any changes from the query cache to the persister. It returns an `unsubscribe` function which you can use to discontinue the monitor; ending the updates to the persisted cache.
128128

129129
```ts
130130
persistQueryClient({

0 commit comments

Comments
 (0)