endpoint[Symbol.asyncDispose]()


调用 endpoint.close() 并返回一个在端点关闭后完成的 Promise。

🌐 Calls endpoint.close() and returns a promise that fulfills when the endpoint has closed.