decord/source/modules/gateway/useRequestGatewaySocket.tsx
2026-08-05 07:35:12 +00:00

24 lines
835 B
TypeScript

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