Add new listeners and update them about the state.
(self, value)
| 233 | listener(self._value) |
| 234 | |
| 235 | def __iadd__(self, value): |
| 236 | """Add new listeners and update them about the state.""" |
| 237 | listeners = to_iterable(value) |
| 238 | super().__iadd__(listeners) |
| 239 | for listener in listeners: |
| 240 | listener(self._value) |
| 241 | return self |
| 242 | |
| 243 | @property |
| 244 | def value(self): |
nothing calls this directly
no test coverage detected