decord/source/modules/gateway/useRequestGatewaySocket.tsx
2026-07-28 08:39:19 +00:00

24 lines
848 B
TypeScript

// Module ID: 13591
// Function ID: 104442
// Name: useRequestGatewaySocket
// Dependencies: [31, 9453, 652, 2]
// Exports: useRequestGatewaySocket
// Module 13591 (useRequestGatewaySocket)
import result from "result";
const result = require("addToken").fileFinishedImporting("modules/gateway/useRequestGatewaySocket.tsx");
export const useRequestGatewaySocket = function useRequestGatewaySocket(arg0) {
const importDefault = arg0;
const canUIRequestGatewaySocket = importDefault(9453).useCanUIRequestGatewaySocket();
const items = [arg0, canUIRequestGatewaySocket];
const effect = React.useEffect(() => {
if (canUIRequestGatewaySocket) {
canUIRequestGatewaySocket(outer1_2[2]).setRequestedBy(closure_0);
return () => {
canUIRequestGatewaySocket(outer2_2[2]).stopRequest(outer1_0);
};
}
}, items);
};