Skip to content

emit directly from add_observer() #11

Description

@kubaraczkowski

Hi,

Speaking about PyQt4, would it be possible to attach emitting a signal directly at a place where add_observer is called?
like this in the view part:

self.model.set_state.add_observer(self._model_state_change_signal.emit)

considering that model.set_state has appropriate decorator and that the set_state method takes one argument which fits to the _model_state_change_signal type

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions