mirror of
https://github.com/electron/electron.git
synced 2026-01-09 23:48:01 -05:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user