outgoingMessage.destroy([error])


  • error <Error> 可选,与 error 事件一起触发的错误
  • 返回:<this>

销毁消息。一旦套接字与消息关联并且已连接,该套接字也将被销毁。

🌐 Destroys the message. Once a socket is associated with the message and is connected, that socket will be destroyed as well.