File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -103,12 +103,12 @@ function getInMemoryLRUCache() {
103
103
return extendedGlobalThis [ IN_MEMORY_LRU_CACHE ]
104
104
}
105
105
106
- interface RequestSpecificInMemoryCache {
106
+ interface RequestScopedInMemoryCache {
107
107
get ( key : string ) : BlobType | null | Promise < BlobType | null > | undefined
108
108
set ( key : string , value : BlobType | null | Promise < BlobType | null > ) : void
109
109
}
110
110
111
- const noOpInMemoryCache : RequestSpecificInMemoryCache = {
111
+ const noOpInMemoryCache : RequestScopedInMemoryCache = {
112
112
get ( ) : undefined {
113
113
// no-op
114
114
} ,
@@ -117,7 +117,7 @@ const noOpInMemoryCache: RequestSpecificInMemoryCache = {
117
117
} ,
118
118
}
119
119
120
- const getRequestSpecificInMemoryCache = ( ) : RequestSpecificInMemoryCache => {
120
+ const getRequestSpecificInMemoryCache = ( ) : RequestScopedInMemoryCache => {
121
121
const requestContext = getRequestContext ( )
122
122
if ( ! requestContext ) {
123
123
// Fallback to a no-op store if we can't find request context
You can’t perform that action at this time.
0 commit comments