web worker not responding instantly
I have a next js project and in that i have this fn that i run on, onKeyDownCapture
NOTE- the Fn works fine when its being executed on the main thread in the same file but when i move it to the web worker that is when the problem arises.