electron-remote icon indicating copy to clipboard operation
electron-remote copied to clipboard

cancel requireTaskPool process

Open JeroenVinke opened this issue 8 years ago • 5 comments

Hi,

After executing a function via requireTaskPool, is it possible to kill this process somehow?

Thanks,

Jeroen

JeroenVinke avatar Aug 22 '16 13:08 JeroenVinke

@JeroenVinke They get cleaned up automatically, do you mean that you want to abort a running process?

anaisbetts avatar Aug 22 '16 17:08 anaisbetts

do you mean that you want to abort a running process?

Yes

JeroenVinke avatar Aug 22 '16 18:08 JeroenVinke

any hints where to look? do you think that it is possible?

JeroenVinke avatar Sep 23 '16 07:09 JeroenVinke

@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")

anaisbetts avatar Sep 26 '16 16:09 anaisbetts

@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

GnuRant avatar May 17 '17 15:05 GnuRant