Skip to content

Commit

Permalink
docs: add a more detailed explanation to cookies.flushStore() (#39903)
Browse files Browse the repository at this point in the history
* docs: cookies.flushStore()

Co-authored-by: Spencer17x <1253478653@qq.com>

* docs: modify cookies.flushStore()

Co-authored-by: Spencer17x <1253478653@qq.com>

* Update docs/api/cookies.md

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>

Co-authored-by: spencer17x <1253478653@qq.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Spencer17x <1253478653@qq.com>
  • Loading branch information
trop[bot] and spencer17x committed Sep 19, 2023
1 parent 53bf1f3 commit 46b5124
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/api/cookies.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,8 @@ Removes the cookies matching `url` and `name`

Returns `Promise<void>` - A promise which resolves when the cookie store has been flushed

Writes any unwritten cookies data to disk.
Writes any unwritten cookies data to disk

Cookies written by any method will not be written to disk immediately, but will be written every 30 seconds or 512 operations

Calling this method can cause the cookie to be written to disk immediately.

0 comments on commit 46b5124

Please sign in to comment.