prasi-srv/internal/content/ipc/send.ts

6 lines
117 B
TypeScript

export const ipcSend = (
msg: { type: "init" } | { type: "ready"; port: number }
) => {
process?.send?.(msg);
};