FpostMessage
Bun

function

postMessage

function postMessage(
message: any,
transfer?: Transferable[]
): void;

Post a message to the parent thread.

Only useful in a worker thread; calling this from the main thread does nothing.

Referenced types