Exemple #1
0
 def build_room_member_handler(self):
     if self.config.worker_app:
         return RoomMemberWorkerHandler(self)
     return RoomMemberMasterHandler(self)
Exemple #2
0
 def get_room_member_handler(self) -> RoomMemberHandler:
     if self.config.worker.worker_app:
         return RoomMemberWorkerHandler(self)
     return RoomMemberMasterHandler(self)