port.hasRef()


版本历史
版本变更
v24.0.0

标记 API 稳定。

v18.1.0, v16.17.0

新增于: v18.1.0, v16.17.0

如果为 true,则 MessagePort 对象将使 Node.js 事件循环保持活动状态。

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

AltStyle によって変換されたページ (->オリジナル) /