MsetMaxListeners
Bun

method

worker_threads.MessagePort.setMaxListeners

n: number
): void;

Node.js-specific extension to the EventTarget class that sets the number of max event listeners as n.