method Resolver.prototype.cancelResolver.prototype.cancel(): voidDeprecatedCancel all outstanding DNS queries made by this resolver. The corresponding callbacks will be called with an error with code ECANCELLED. Return Typevoid