cz8s/pytrainer — comment on commit 9eca56f31e8c314f057518ba165dee8a2f68c542
File:  line 0
By ncjones:

Yes, take the threading and put it in runExtension. The extension runner does not need to know if an extension is running too long since there will just be a dialog with a cancel button that the user can click. Extensions will just need to expose a way of canceling a running instance. If you are concerned about it being unnecessary to cancel short-running extensions then the extension could have an "isCancellable" property to indicate that.