I added a dispatch handler that switches to a custom handler if it is supplied otherwise it uses the one that I provided as a default. I made it so that the default signal handler will also reraise the SIGINT so that it can be handled by the user after the workflows all suspend. The test currently will fail because the interrupt is raised again, but if it isn't then it will work. The functionality is what it needs to be, but I'm not sure exactly how we want the test to work.
I added a dispatch handler that switches to a custom handler if it is supplied otherwise it uses the one that I provided as a default. I made it so that the default signal handler will also reraise the SIGINT so that it can be handled by the user after the workflows all suspend. The test currently will fail because the interrupt is raised again, but if it isn't then it will work. The functionality is what it needs to be, but I'm not sure exactly how we want the test to work.