doc: improve crypto.randomUUID() text
* Use present tense. * Remove "persistently" which suggests that the cache persists across Node.js runs. * Remove "pre-emptively". I think "proactively" is what was meant as nothing is being pre-empted here. Regardless of what the adverby should be, it seems unnecessary. PR-URL: https://github.com/nodejs/node/pull/36830 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
This commit is contained in:
parent
8ce6583f38
commit
15e47ed10d
@ -3167,7 +3167,7 @@ added: REPLACEME
|
||||
|
||||
* `options` {Object}
|
||||
* `disableEntropyCache` {boolean} By default, to improve performance,
|
||||
Node.js will pre-emptively generate and persistently cache enough
|
||||
Node.js generates and caches enough
|
||||
random data to generate up to 128 random UUIDs. To generate a UUID
|
||||
without using the cache, set `disableEntropyCache` to `true`.
|
||||
**Defaults**: `false`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user