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.