Skip to main content
method Resolver.prototype.cancel
Resolver.prototype.cancel(): void
Deprecated

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

Return Type

void
Back to top