This pull request adds an abort_etlhelper_threads() function that allows jobs to be cancelled from other threads. This is useful for GUI applications that use ETLHelper. It closes #124.
To test
The abort code is relatively simple and the test code is actually more tricky. It needs to use the ThreadPoolExecutor to run the jobs and capture exceptions that they raise. They comments and description should make sense, but please modify if they don't.
Description
This pull request adds an
abort_etlhelper_threads()
function that allows jobs to be cancelled from other threads. This is useful for GUI applications that use ETLHelper. It closes #124.To test
The abort code is relatively simple and the test code is actually more tricky. It needs to use the ThreadPoolExecutor to run the jobs and capture exceptions that they raise. They comments and description should make sense, but please modify if they don't.