decord/source/modules/rpc/RpcCommandInterception.tsx
github-actions 4f02868c60 chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
2026-09-11 10:30:06 +00:00

26 lines
626 B
TypeScript

// Module ID: 14582
// Function ID: 14583
// Name: RpcCommandInterception
// Dependencies: [2]
// Exports: interceptRpcCommand, setRpcCommandInterceptor
// Module 14582 (RpcCommandInterception)
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;
}
}
};