Run the :mod:`asyncore` loop until normal termination conditions arise. :param poll_interval: The interval, in seconds, used in the underlying :func:`select` or :func:`poll` call by :func:`asyncore.loop`.
(self, poll_interval)
| 910 | t.start() |
| 911 | |
| 912 | def serve_forever(self, poll_interval): |
| 913 | """ |
| 914 | Run the :mod:`asyncore` loop until normal termination |
| 915 | conditions arise. |
| 916 | :param poll_interval: The interval, in seconds, used in the underlying |
| 917 | :func:`select` or :func:`poll` call by |
| 918 | :func:`asyncore.loop`. |
| 919 | """ |
| 920 | while not self._quit: |
| 921 | asyncore.loop(poll_interval, map=self._map, count=1) |
| 922 | |
| 923 | def stop(self): |
| 924 | """ |