mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 07:42:54 +00:00 
			
		
		
		
	Store all initial subscriptions
This commit is contained in:
		@@ -7,9 +7,9 @@ class EventHandlerBase:
 | 
			
		||||
    def __init__(self, anchor):
 | 
			
		||||
        self.messaging = Messaging()
 | 
			
		||||
        self.anchor = anchor
 | 
			
		||||
        self.messaging.subscribe(self.anchor)
 | 
			
		||||
        self.messaging.subscribe('reset')
 | 
			
		||||
        self.subscriptions = {self.anchor}
 | 
			
		||||
        self.subscriptions = set()
 | 
			
		||||
        self.subscribe(self.anchor)
 | 
			
		||||
        self.subscribe('reset')
 | 
			
		||||
        self.messaging.register_callback(self.event_handler_callback)
 | 
			
		||||
 | 
			
		||||
    def event_handler_callback(self, msg_parts):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user