decord/source/modules/headless_tasks/android/Disconnect.tsx

26 lines
721 B
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 17273
// Function ID: 17274
2026-07-20 16:05:17 +00:00
// Name: promise
2026-08-25 06:04:03 +00:00
// Dependencies: [1391, 17274, 9296, 2]
2026-07-20 16:05:17 +00:00
2026-08-25 06:04:03 +00:00
// Module 17273 (promise)
2026-08-24 06:08:38 +00:00
import closure_3 from "ensureGuildLoaded" /* 1391 */;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("modules/headless_tasks/android/Disconnect.tsx");
2026-07-20 16:05:17 +00:00
export default (channelId) => {
2026-07-23 10:11:24 +00:00
channelId = channelId.channelId;
2026-07-20 16:05:17 +00:00
return new Promise((arg0) => {
2026-08-24 06:08:38 +00:00
closure_0 = arg0;
closure_1_1(closure_1_2[1]).awaitStorage(() => {
const channel = closure_2_3.getChannel(callback);
2026-07-20 16:05:17 +00:00
if (null != channel) {
2026-08-24 06:08:38 +00:00
channelId(closure_2_2[2]).handleDisconnect(channel);
const obj = channelId(closure_2_2[2]);
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
callback(true);
2026-07-20 16:05:17 +00:00
});
});
};