Subprocess.send method | Bun module | Bun
BuildDocsReferenceGuidesBlogDiscord/
Bun/
Subprocess/
sendMsend
Search the reference...
/
BuildDocsReferenceGuidesBlogDiscord/
Bun/
Subprocess/
sendMsend
method
Subprocess.sendsend(message: any): void;
Send a message to the subprocess. This is only supported if the subprocess was created with the ipc option, and is another instance of bun.
Messages are serialized using the JSC serialize API, which allows for the same types that postMessage/structuredClone supports.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlog Toolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →