docs: add a more detailed explanation to cookies.flushStore() (#37572)
* docs: cookies.flushStore() * docs: modify cookies.flushStore() * Update docs/api/cookies.md Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> --------- Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
73e33bc876
commit
18717ee62d
1 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue