feat: promisify session cache methods (#17185)
This commit is contained in:
parent
652e232813
commit
fc10620082
6 changed files with 62 additions and 17 deletions
|
@ -27,6 +27,8 @@ Session.prototype.clearStorageData = deprecate.promisify(Session.prototype.clear
|
|||
Session.prototype.clearHostResolverCache = deprecate.promisify(Session.prototype.clearHostResolverCache)
|
||||
Session.prototype.resolveProxy = deprecate.promisify(Session.prototype.resolveProxy)
|
||||
Session.prototype.setProxy = deprecate.promisify(Session.prototype.setProxy)
|
||||
Session.prototype.getCacheSize = deprecate.promisify(Session.prototype.getCacheSize)
|
||||
Session.prototype.clearCache = deprecate.promisify(Session.prototype.clearCache)
|
||||
|
||||
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