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

26 lines
722 B
TypeScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 17004
// Function ID: 17005
2026-07-20 16:05:17 +00:00
// Name: promise
2026-08-08 06:10:11 +00:00
// Dependencies: [1372, 17005, 9148, 2]
2026-07-20 16:05:17 +00:00
2026-08-08 06:10:11 +00:00
// Module 17004 (promise)
2026-07-29 08:29:29 +00:00
import ensureGuildLoaded from "ensureGuildLoaded";
2026-07-23 10:11:24 +00:00
const require = arg1;
const result = require("_handleToggleVideo").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-07-23 10:11:24 +00:00
let closure_0 = arg0;
outer1_1(outer1_2[1]).awaitStorage(() => {
const channel = outer2_3.getChannel(callback);
2026-07-20 16:05:17 +00:00
if (null != channel) {
2026-07-23 10:11:24 +00:00
channelId(outer2_2[2]).handleDisconnect(channel);
const obj = channelId(outer2_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
});
});
};