Chore: fix functions names

This commit is contained in:
Alexander Zobnin
2020-08-06 15:26:16 +03:00
parent 47bbf55e54
commit 21c8bc21b3
2 changed files with 9 additions and 9 deletions

View File

@@ -28,7 +28,7 @@ export class CachingProxy {
/**
* Wrap request to prevent multiple calls with same params when request is waiting for response.
*/
proxyfy(func, funcName, funcScope) {
proxify(func, funcName, funcScope) {
if (!this.promises[funcName]) {
this.promises[funcName] = {};
}
@@ -36,9 +36,9 @@ export class CachingProxy {
return callOnce(func, promiseKeeper, funcScope);
}
proxyfyWithCache(func, funcName, funcScope) {
const proxyfied = this.proxyfy(func, funcName, funcScope);
return this.cacheRequest(proxyfied, funcName, funcScope);
proxifyWithCache(func, funcName, funcScope) {
const proxified = this.proxify(func, funcName, funcScope);
return this.cacheRequest(proxified, funcName, funcScope);
}
_isExpired(cacheObject) {