2026-09-11 19:12:58 +00:00
|
|
|
// Module ID: 12442
|
|
|
|
|
// Function ID: 12443
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: AbstractSearchFetchManager
|
2026-07-29 08:29:29 +00:00
|
|
|
// Dependencies: [2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-11 19:12:58 +00:00
|
|
|
// Module 12442 (AbstractSearchFetchManager)
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
let result = size.fileFinishedImporting("modules/search/managers/AbstractSearchFetchManager.tsx");
|
2026-07-29 08:29:29 +00:00
|
|
|
class AbstractSearchFetchManager {
|
|
|
|
|
constructor() {
|
2026-09-10 05:38:07 +00:00
|
|
|
merged = Object.assign({ searchFetchers: null });
|
2026-07-29 08:29:29 +00:00
|
|
|
map = new Map();
|
2026-09-10 05:38:07 +00:00
|
|
|
merged[0] = map;
|
|
|
|
|
return merged;
|
2026-07-29 08:29:29 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
const prototype = AbstractSearchFetchManager.prototype;
|
|
|
|
|
prototype["cleanUp"] = function cleanUp(arg0) {
|
|
|
|
|
this.cancel(arg0);
|
|
|
|
|
this.delete(arg0);
|
|
|
|
|
};
|
|
|
|
|
prototype["cancel"] = function cancel(arg0) {
|
|
|
|
|
const searchFetchers = this.searchFetchers;
|
2026-09-10 05:38:07 +00:00
|
|
|
value = searchFetchers.get(arg0);
|
2026-07-29 08:29:29 +00:00
|
|
|
if (value != null) {
|
|
|
|
|
value.cancel();
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
prototype["delete"] = function delete(arg0) {
|
|
|
|
|
const searchFetchers = this.searchFetchers;
|
|
|
|
|
searchFetchers.delete(arg0);
|
|
|
|
|
};
|
|
|
|
|
prototype["get"] = function get(arg0) {
|
|
|
|
|
const searchFetchers = this.searchFetchers;
|
|
|
|
|
return searchFetchers.get(arg0);
|
|
|
|
|
};
|
|
|
|
|
prototype["set"] = function set(arg0, arg1) {
|
|
|
|
|
const searchFetchers = this.searchFetchers;
|
|
|
|
|
const result = searchFetchers.set(arg0, arg1);
|
|
|
|
|
};
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
export { AbstractSearchFetchManager };
|