port.hasRef()


稳定性: 1 - 实验性

如果为真,MessagePort 对象将保持 Node.js 事件循环处于活动状态。

🌐 If true, the MessagePort object will keep the Node.js event loop active.