RPC with worker
I started using Comlink to implement RPC with the worker. The idea was to be able to interact with PyProxies from the main thread through Comlink, but unfortunately since PyProxies are already proxies it makes the whole system incredibly weird. Instead, I started using a “registry” for PyProxies and referenced them with a string-type key in the main thread.
This all needed a lot of refactoring and I also improved the types across the project. No new features have been added but I should be able to actually implement working features/tools now.
P.S: Model regen is taking 200sec+ on my Mac which is very concerning, I need to look into it.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.