electron-remote
electron-remote copied to clipboard
cancel requireTaskPool process
Hi,
After executing a function via requireTaskPool
, is it possible to kill this process somehow?
Thanks,
Jeroen
@JeroenVinke They get cleaned up automatically, do you mean that you want to abort a running process?
do you mean that you want to abort a running process?
Yes
any hints where to look? do you think that it is possible?
@JeroenVinke It's definitely possible, though I don't know what the current sitch with cancelable promises is at the moment. You can always do this today manually though (i.e. create a second exported method called "CancelThisThing")
@paulcbetts Hey paulcbetts, could you please explain with an example how to stop manually a process in the task pool, I need this solution to workaround the issue #22