feat: promisify ses.clearHostResolverCache() (#17229)

This commit is contained in:
Shelley Vohr 2019-03-08 10:26:17 -08:00 committed by GitHub
parent 9d8619f305
commit e5e6aa207c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 23 additions and 11 deletions

View file

@ -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)