40 lines
2.3 KiB
TypeScript
40 lines
2.3 KiB
TypeScript
/* Metro module 9685; source: modules/search/managers/AbstractSearchFetchManager.tsx; dependencies: [6, 7, 2] */
|
|
import ClassCallCheck from '../../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import CreateClass from '../../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun76119(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76119, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9871:6, offset: 0x01dc4a7a, size: 126 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const value = _fun76120();
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/search/managers/AbstractSearchFetchManager.tsx');
|
|
exports.AbstractSearchFetchManager = value;
|
|
function _fun76120() { // fn#76120, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9871:118, offset: 0x01dc4af8, size: 159 bytes, params: 1, frame: 15
|
|
return CreateClass(AbstractSearchFetchManager, [{key: 'cleanUp', value: function(a0) {
|
|
this.cancel(a0);
|
|
this.delete(a0);
|
|
}}, {key: 'cancel', value: function(a0) {
|
|
var value = this.searchFetchers.get(a0);
|
|
if (value != null) {
|
|
value.cancel();
|
|
}
|
|
}}, {key: 'delete', value: function(a0) {
|
|
this.searchFetchers.delete(a0);
|
|
}}, {key: 'get', value: function(a0) {
|
|
return this.searchFetchers.get(a0);
|
|
}}, {key: 'set', value: function(a0, a1) {
|
|
this.searchFetchers.set(a0, a1);
|
|
}}]);
|
|
function AbstractSearchFetchManager() { // fn#76121, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9871:139, offset: 0x01dc4b97, size: 61 bytes, params: 1, frame: 13
|
|
const value = environment.__proto__;
|
|
env1_0(this, AbstractSearchFetchManager);
|
|
const Map = global.Map;
|
|
this.searchFetchers = new Map();
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun76119, 9685, [6, 7, 2]) /* metro module 9685, dependencies: [6, 7, 2] */;
|