We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since Runnable.run() is (via dispatch()) offloading next() to an executor, it's possible to run a single instance's next multiple times in parallel.
Runnable.run()
dispatch()
next()
next
This is not a problem if next() does not mutate the self, but it could potentially lead to a state lost, or even a deadlock if it does.
self
Should be categorically ban such a behaviour, or leave the responsibility to the block/workflow developer?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Since
Runnable.run()
is (viadispatch()
) offloadingnext()
to an executor, it's possible to run a single instance'snext
multiple times in parallel.This is not a problem if
next()
does not mutate theself
, but it could potentially lead to a state lost, or even a deadlock if it does.Should be categorically ban such a behaviour, or leave the responsibility to the block/workflow developer?
The text was updated successfully, but these errors were encountered: