decord/source/modules/gateway/useRequestGatewaySocket.tsx
2026-07-27 11:26:19 +00:00

24 lines
848 B
TypeScript

// Module ID: 13547
// Function ID: 104269
// Name: useRequestGatewaySocket
// Dependencies: [31, 9413, 652, 2]
// Exports: useRequestGatewaySocket
// Module 13547 (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(9413).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);
};