コード例 #1
0
 def on_poll_start(self):
     """Called by hub before each ``poll()``"""
     cycle = self.cycle
     cycle.on_poll_start()
     return dict((fd, self.handle_event) for fd in cycle.fds)
コード例 #2
0
ファイル: redis.py プロジェクト: aburan28/kombu
 def on_poll_start(self):
     cycle = self.cycle
     cycle.on_poll_start()
     return dict((fd, self.handle_event) for fd in cycle.fds)
コード例 #3
0
 def on_poll_start(self):
     cycle = self.cycle
     cycle.on_poll_start()
     return dict((fd, self.handle_event) for fd in cycle.fds)