decord/source/modules/gateway/useRequestGatewaySocket.tsx
2026-08-06 08:05:19 +00:00

24 lines
835 B
TypeScript

// Module ID: 13738
// Function ID: 13739
// Name: useRequestGatewaySocket
// Dependencies: [19, 10387, 675, 2]
// Exports: useRequestGatewaySocket
// Module 13738 (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(10387).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);
};