socket[Symbol.asyncDispose]()


调用 socket.close() 并返回一个在套接字关闭时履行的 promise。

¥Calls socket.close() and returns a promise that fulfills when the socket has closed.