2026-09-22 22:11:40 +00:00
|
|
|
// Module ID: 14616
|
|
|
|
|
// Function ID: 14617
|
2026-09-18 20:18:48 +00:00
|
|
|
// Name: RpcCommandInterception
|
|
|
|
|
// Dependencies: [2]
|
|
|
|
|
// Exports: interceptRpcCommand, setRpcCommandInterceptor
|
|
|
|
|
|
2026-09-22 22:11:40 +00:00
|
|
|
// Module 14616 (RpcCommandInterception)
|
2026-09-18 20:18:48 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
|
|
|
|
let global = null;
|
|
|
|
|
const result = size.fileFinishedImporting("modules/rpc/RpcCommandInterception.tsx");
|
|
|
|
|
|
|
|
|
|
export function setRpcCommandInterceptor(arg0) {
|
|
|
|
|
global = arg0;
|
|
|
|
|
}
|
|
|
|
|
export const interceptRpcCommand = function interceptRpcCommand(framebus) {
|
|
|
|
|
if (null == global) {
|
|
|
|
|
return null;
|
|
|
|
|
} else {
|
|
|
|
|
try {
|
|
|
|
|
return global(framebus);
|
|
|
|
|
} catch (err) {
|
|
|
|
|
return tmp;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|