Skip to content
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

calling all binding and not only the first one #90

Closed
typemytype opened this issue Apr 9, 2019 · 1 comment · Fixed by #92
Closed

calling all binding and not only the first one #90

typemytype opened this issue Apr 9, 2019 · 1 comment · Fixed by #92

Comments

@typemytype
Copy link
Member Author

the return value is only used on should close

I would propose to call all callbacks and collect all return values. Return values must be True or False. This makes it possible to merge it down to a single return value:

  • all True -> True
  • mixed -> False
  • all False -> False

all(collectedReturnValues)

typemytype added a commit that referenced this issue Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant