24 lines
789 B
TypeScript
24 lines
789 B
TypeScript
// Module ID: 16696
|
|
// Function ID: 130201
|
|
// Name: promise
|
|
// Dependencies: [1348, 16693, 10750, 10735, 2]
|
|
|
|
// Module 16696 (promise)
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
|
|
|
const require = arg1;
|
|
const result = require("getDeafStates").fileFinishedImporting("modules/headless_tasks/android/ToggleDeafen.tsx");
|
|
|
|
export default (channelId) => {
|
|
channelId = channelId.channelId;
|
|
return new Promise((arg0) => {
|
|
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);
|
|
});
|
|
});
|
|
};
|