If set, specifies the initial value of process.env inside the Worker thread. As a special value, worker.SHARE_ENV may be used to specify that the parent thread and the child thread should share their environment variables; in that case, changes to one thread's process.env object affect the other thread as well. Default: process.env.
property env | Bun module | Bun BuildDocsReferenceGuidesBlogDiscord/Bun/WorkerOptions/envPenv BuildDocsReferenceGuidesBlogDiscord /Bun/WorkerOptions/envPenv WorkerOptions.envenv?: Recordstring, string> | typeof SHARE_ENV
Search the reference...
/
property
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →property env | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- If set, specifies the initial value of process.env inside the Worker thread. As a special value, worker.SHARE_ENV may be used to specify that the parent thread and the child thread should share their environment variables; in that case, changes to one thread