コード例 #1
0
 def dequeue(self):
     msg = self.read()
     
     if msg:
         command = registry.get_command_for_message(msg)
         command.execute()
         return msg
コード例 #2
0
ファイル: queue.py プロジェクト: ttburger/djutils
    def dequeue(self):
        msg = self.read()

        if msg:
            command = registry.get_command_for_message(msg)
            command.execute()
            return msg
コード例 #3
0
ファイル: queue.py プロジェクト: daemon13/django-utils
 def put(self, message):
     command = registry.get_command_for_message(message)
     command.execute()
コード例 #4
0
ファイル: queue.py プロジェクト: karthikrish/django-utils
 def put(self, message):
     command = registry.get_command_for_message(message)
     command.execute()