New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow preDispatchSignal to cancel dispatching #929
Comments
The |
Since |
Also, do you mind if I have |
Slots should have the signature `bool slot( dispatcher, nodes )`, and may return True to cancel execution, or False to allow it to continue. Fixes GafferHQ#929.
Ignore that commit... I pushed it prematurely, and even though I never made a pull request and I deleted the remote branch, it still shows up here... |
I'm sure we shouldn't change anything about And the return values for Unless you feel strongly I'd suggest just matching |
And what about the |
You spoil me! I'd go with the simpler one, and just ignore the bool return value from |
We should change preDispatchSignal() to allow slots to return a value to cancel the dispatch.
The text was updated successfully, but these errors were encountered: