endpoint[Symbol.asyncDispose]()


调用 endpoint.close() 并返回在端点关闭时实现的 promise。

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