Tidy up function rename.

This commit is contained in:
Sam Rose 2024-04-03 17:03:10 +01:00
parent 51af154215
commit a8ae839186
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View File

@ -167,7 +167,7 @@ class QueryRunner {
this.hasRerun = true
}
await threadUtils.invalidateDynamicVariables(this.cachedVariables)
await threadUtils.invalidateCachedVariable(this.cachedVariables)
return this.execute()
}
@ -254,7 +254,7 @@ class QueryRunner {
let { parameters } = this
const queryId = variable.queryId,
name = variable.name
let value = await threadUtils.checkCacheForDynamicVariable(queryId, name)
let value = await threadUtils.getCachedVariable(queryId, name)
if (!value) {
value = this.queryResponse[queryId]
? this.queryResponse[queryId]

View File

@ -85,7 +85,7 @@ export default {
hasExtraData,
formatResponse,
storeDynamicVariable,
invalidateDynamicVariables: invalidateCachedVariable,
checkCacheForDynamicVariable: getCachedVariable,
invalidateCachedVariable,
getCachedVariable,
threadSetup,
}