GenerAI / worldmonitor /src /shims /child-process-proxy.ts
amogaddy's picture
Integra World Monitor (AGPL-3.0, self-hosted) nello Space: pagina, menu, e arricchimento notizie per la AI (part 8)
dbb1bf9 verified
Raw
History Blame Contribute Delete
478 Bytes
/**
* Browser shim for @loaders.gl/worker-utils ChildProcessProxy.
* loaders.gl exposes this Node-only utility from its root index, which can
* trigger bundler warnings in browser builds even when not used at runtime.
*/
export default class ChildProcessProxy {
async start(): Promise<{}> {
throw new Error('ChildProcessProxy is not available in browser environments.');
}
async stop(): Promise<void> {}
async exit(_statusCode: number = 0): Promise<void> {}
}