阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js worker_threads MessagePort 类

      Node.js worker_threads MessagePort 类

      新增于: v10.5.0

      • Extends: < EventEmitter>

      Instances of the worker.MessagePort class represent one end of an asynchronous, two-way communications channel. It can be used to transfer structured data, memory regions and other MessagePorts between different Workers.

      With the exception of MessagePorts being EventEmitters rather than EventTargets, this implementation matches browser MessagePorts.


      更多内容请参考:Node.js worker_threads 工作线程,或者通过 点击对应菜单 进行查看;


      目录
      本文目录
      目录