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

25 lines
772 B
TypeScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 17008
// Function ID: 17009
2026-07-20 16:05:17 +00:00
// Name: promise
2026-08-08 06:10:11 +00:00
// Dependencies: [1372, 17005, 10900, 10869, 2]
2026-07-20 16:05:17 +00:00
2026-08-08 06:10:11 +00:00
// Module 17008 (promise)
2026-07-29 08:29:29 +00:00
import ensureGuildLoaded from "ensureGuildLoaded";
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
const result = require("useDeafStates").fileFinishedImporting("modules/headless_tasks/android/ToggleDeafen.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);
const deafStates = channelId(outer2_2[2]).getDeafStates(channel);
const obj = channelId(outer2_2[2]);
channelId(outer2_2[3]).createDeafHandler(deafStates).onPress();
callback(true);
2026-07-20 16:05:17 +00:00
});
});
};