About heavy task


#1

Hi guys:
i am using electron (v1.2.1),and now i need some help.
There is a heavy task which cost 40+ms in main process, so when the method is applying,render process (GUI) is padding , wait for the method finish.
i have used child_process as temporary solution.so do you have any suggestion?
Thanks a lot

Update: I am not good at C++,so i am afraid i couldn`t use addOn nearly.


#2

Using a child process from the renderer process is the typical solution for this kind of thing.


#3

Thank you,i will try