Galaxie EveLoop 0.1.5 documentation


Navigation:   | Index   | Search   | Top   | Up   |
Table of Content: |

© Copyright 2021-2024, Galaxie EveLoop Team all right reserved.

Top » Module code » glxeveloop.loop.stop

Source code for glxeveloop.loop.stop

import logging


[docs] class Stop: running: bool debug: bool
[docs] def stop(self): """ Stops a Loop from running. Any calls to run() for the loop will return. Note that sources that have already been dispatched when quit() is called will still be executed. .. :warning: A Loop quit() call will certainly cause the end of you programme """ if hasattr(self, "debug") and self.debug: logging.debug("%s", f"{self.__class__.__name__}: Stopping") self.running = False

Top » Module code » glxeveloop.loop.stop

© Copyright 2021-2024, Galaxie EveLoop Team all right reserved.
This page is licensed under the GNU General Public License v3 or later (GPLv3+).
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

Last updated on None.
Created using Sphinx 7.3.7.