For Workers using the ES Module format, they receive their environment variables and bindings through the fetch env object passed in as explained here:
https://developers.cloudflare.com/workers/runtime-apis/fetch-event/#syntax-module-worker
In the docs, it mentions the following regarding the env object:
The bindings assigned to the Worker. As long as the environment has not changed, the same object (equal by identity) is passed to all requests.
When would the env object change? Could this happen during the lifecycle of the script run?
I ask because we're migrating a large Worker codebase from the Service Worker format to the new Module format, but this codebase assumes the environment variables they rely on never change. So I'm trying to gauge whether it's going to be an issue having this assumption going to the Module format, and how much of an issue it will be.