Quick maybe dumb question. Can you define a worker entry point in a worker and access and call the c

Quick maybe dumb question. Can you define a worker entry point in a worker and access and call the class and it’s methods in the same worker? I understand with RPC you can export the class in the same file as the module default export and it can be used in other workers. But wondering if it can be used in the source worker and other workers
Was this page helpful?