Files
discord-decomp/sources/utils/ProcessUtilsBase.tsx
T
2026-07-27 16:20:00 +03:00

25 lines
1.5 KiB
TypeScript

/* Metro module 5257; source: utils/ProcessUtilsBase.tsx; dependencies: [6, 7, 2] */
function _fun46761(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#46761, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5435:6, offset: 0x011ae3ff, size: 220 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_0 = importDefault(6) /* metro dependency 6 */;
const env0_1 = importDefault(7) /* metro dependency 7 */;
const value = _fun46762();
(require(2) /* metro dependency 2 */).fileFinishedImporting('utils/ProcessUtilsBase.tsx');
exports.ElectronProcessType = {Unknown: 'unknown', Main: 'main', Renderer: 'renderer', GPU: 'gpu',
Utility: 'utility', Crashpad: 'crashpad', Clips: 'clips'};
exports.ProcessUtils = value;
}
function _fun46762() { // fn#46762, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5435:272, offset: 0x011ae4db, size: 128 bytes, params: 1, frame: 15
return env0_1(ProcessUtils, [{key: 'getSystemMetrics', value: function() {
var Promise = global.Promise;
return Promise.resolve(null);
}}, {key: 'setShouldCollectHermesInstrumentedStats', value: function() {
}}, {key: 'getCurrentHermesInstrumentedStatsSummary', value: function() {
}}, {key: 'getCPUCoreCount', value: function() {
return this.cpuCoreCount;
}}]);
}