29 lines
529 B
TypeScript
29 lines
529 B
TypeScript
// Metro module 10112 (f10113).
|
|
export class AbstractSearchFetchManager {
|
|
constructor() {
|
|
return {
|
|
__proto__: new.target.prototype,
|
|
searchFetchers: new Map()
|
|
};
|
|
}
|
|
cleanUp(a0) {
|
|
this.cancel(a0);
|
|
this.delete(a0);
|
|
}
|
|
cancel(a0) {
|
|
const r5 = this.searchFetchers.get(a0);
|
|
if (r5 != null) {
|
|
r5.cancel();
|
|
}
|
|
}
|
|
delete(a0) {
|
|
this.searchFetchers.delete(a0);
|
|
}
|
|
get(a0) {
|
|
return this.searchFetchers.get(a0);
|
|
}
|
|
set(a0, a1) {
|
|
this.searchFetchers.set(a0, a1);
|
|
}
|
|
}
|