feat: promisify ses.clearHostResolverCache() (#17229)
This commit is contained in:
parent
9d8619f305
commit
e5e6aa207c
6 changed files with 23 additions and 11 deletions
|
@ -24,6 +24,7 @@ Session.prototype._init = function () {
|
|||
}
|
||||
|
||||
Session.prototype.clearStorageData = deprecate.promisify(Session.prototype.clearStorageData)
|
||||
Session.prototype.clearHostResolverCache = deprecate.promisify(Session.prototype.clearHostResolverCache)
|
||||
|
||||
Cookies.prototype.flushStore = deprecate.promisify(Cookies.prototype.flushStore)
|
||||
Cookies.prototype.get = deprecate.promisify(Cookies.prototype.get)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue