decord/source/modules/gateway/useRequestGatewaySocket.tsx
2026-08-04 08:36:32 +00:00

24 lines
835 B
TypeScript

// Module ID: 13730
// Function ID: 13731
// Name: useRequestGatewaySocket
// Dependencies: [19, 10384, 675, 2]
// Exports: useRequestGatewaySocket
// Module 13730 (useRequestGatewaySocket)
import noop from "noop";
const result = require("setRequestedBy").fileFinishedImporting("modules/gateway/useRequestGatewaySocket.tsx");
export const useRequestGatewaySocket = function useRequestGatewaySocket(arg0) {
const importDefault = arg0;
const canUIRequestGatewaySocket = importDefault(10384).useCanUIRequestGatewaySocket();
const items = [arg0, canUIRequestGatewaySocket];
const effect = React.useEffect(() => {
if (canUIRequestGatewaySocket) {
canUIRequestGatewaySocket(outer1_2[2]).setRequestedBy(closure_0);
return () => {
outer1_1(outer1_2[2]).stopRequest(closure_0);
};
}
}, items);
};