2026-09-05 10:56:28 +00:00
|
|
|
// Module ID: 14560
|
|
|
|
|
// Function ID: 14561
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useRequestGatewaySocket
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [19, 11300, 7757, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: useRequestGatewaySocket
|
|
|
|
|
|
2026-09-05 10:56:28 +00:00
|
|
|
// Module 14560 (useRequestGatewaySocket)
|
|
|
|
|
import _modDef11300 from "module_11300" /* 11300 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
import closure_3 from "noop" /* 19 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/gateway/useRequestGatewaySocket.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const useRequestGatewaySocket = function useRequestGatewaySocket(arg0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
importDefault = arg0;
|
2026-09-05 10:56:28 +00:00
|
|
|
const canUIRequestGatewaySocket = _modDef11300.useCanUIRequestGatewaySocket();
|
2026-07-20 16:05:17 +00:00
|
|
|
const items = [arg0, canUIRequestGatewaySocket];
|
|
|
|
|
const effect = React.useEffect(() => {
|
|
|
|
|
if (canUIRequestGatewaySocket) {
|
2026-08-24 06:08:38 +00:00
|
|
|
canUIRequestGatewaySocket(closure_1_2[2]).setRequestedBy(closure_0);
|
2026-07-20 16:05:17 +00:00
|
|
|
return () => {
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_1_1(closure_1_2[2]).stopRequest(closure_0);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}, items);
|
|
|
|
|
};
|