Rename encryption key generation code (#63730)
This PR renames the API to be not specifically related to Server Actions, as in the future it might be used by other things. It also adds the `__next_encryption_key_generation_promise` variable to avoid double-generating of the key when it's called concurrently (e.g. by the node server and edge server compilers). Closes NEXT-2938
Showing
Please
register
or
sign in
to comment