resolver.cancel()


取消此解析器发出的所有未完成的 DNS 查询。相应的回调将以错误代码 ECANCELLED 被调用。

【Cancel all outstanding DNS queries made by this resolver. The corresponding callbacks will be called with an error with code ECANCELLED.】