mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2025-06-28 18:35:12 +00:00
Refactor callback subscription stuff to a mixin
This commit is contained in:
@ -14,7 +14,7 @@ class TFWServer:
|
||||
self._fsm = fsm_type()
|
||||
self._fsm_updater = FSMUpdater(self._fsm)
|
||||
self._fsm_manager = FSMManager(self._fsm)
|
||||
self._fsm.subscribe(self._fsm_updater.update)
|
||||
self._fsm.subscribe_callback(self._fsm_updater.update)
|
||||
|
||||
self.application = Application(
|
||||
[(r'/ws', ZMQWebSocketProxy, {'make_response': self.make_response,
|
||||
|
Reference in New Issue
Block a user