Add ability to disable callbacks temporarily #20802
Labels
Milestone
Comments
|
Naming suggestion: |
|
In Qt, this is IOW, it seems like 'block' is the common term for this for events, though I don't know if these callbacks qualify as 'events'. |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


It may be useful to update some attributes on an object that has callbacks temporarily and we don't want those callback signals being processed during that time.
I guess we could add a
disabling_callbacks()context manager on CallbackRegistry?Originally posted by @anntzer in #19553 (comment)
The text was updated successfully, but these errors were encountered: