-
Notifications
You must be signed in to change notification settings - Fork 121
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
Consider renaming emitter
in EventsBase
#82
Comments
emitter in
EventsBase`emitter
in EventsBase
Specifically in: Lines 221 to 230 in 032b274
The |
It's also worth noting that the |
The name of the emitter variable is semantic in the context of EventsBase. Every framework Object may have a parent. But this is an EventsBase, supposed to handle boilerplate for emitting events for a certain object. Which object? The emitter, which we receive via the decorator protocol on the Looking at Please do raise the issue again if that's off in any way. For now, I'm tentatively closing the issue as it all seems to make sense. |
fix secret id canonicalization
emitter
parameter name has a different meaning inEventsBase
(parent, e.g. CharmBase instance) andBoundEvent
(EventsBase instance).The text was updated successfully, but these errors were encountered: