Skip to content

Commit c5d65de

Browse files
spencer17xcodebytere
authored andcommitted
docs: add a more detailed explanation to cookies.flushStore() (electron#37572)
* docs: cookies.flushStore() * docs: modify cookies.flushStore() * Update docs/api/cookies.md Co-authored-by: Shelley Vohr <[email protected]> --------- Co-authored-by: Shelley Vohr <[email protected]>
1 parent 0a05b3e commit c5d65de

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/api/cookies.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,8 @@ Removes the cookies matching `url` and `name`
119119

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

122-
Writes any unwritten cookies data to disk.
122+
Writes any unwritten cookies data to disk
123+
124+
Cookies written by any method will not be written to disk immediately, but will be written every 30 seconds or 512 operations
125+
126+
Calling this method can cause the cookie to be written to disk immediately.

0 commit comments

Comments
 (0)