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)
| 923 | t.start() |
| 924 | |
| 925 | def serve_forever(self, poll_interval): |
| 926 | """ |
| 927 | Run the :mod:`asyncore` loop until normal termination |
| 928 | conditions arise. |
| 929 | :param poll_interval: The interval, in seconds, used in the underlying |
| 930 | :func:`select` or :func:`poll` call by |
| 931 | :func:`asyncore.loop`. |
| 932 | """ |
| 933 | while not self._quit: |
| 934 | asyncore.loop(poll_interval, map=self._map, count=1) |
| 935 | |
| 936 | def stop(self): |
| 937 | """ |