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

26 lines
739 B
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 16692
// Function ID: 130187
2026-07-20 16:05:17 +00:00
// Name: promise
2026-07-27 11:26:19 +00:00
// Dependencies: [1348, 16693, 8763, 2]
2026-07-20 16:05:17 +00:00
2026-07-27 11:26:19 +00:00
// Module 16692 (promise)
2026-07-23 10:11:24 +00:00
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
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
});
});
};