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.builder

Source code for glxeveloop.loop.builder

from glxeveloop.loop.loop import Loop


[docs] class Builder:
[docs] @staticmethod def loop( debug=None, hooks=None, queue=None, timer=None, running=None, start=None, stop=None, event_handler=None, sequence=None, ) -> object: new_loop = Loop() if debug and hasattr(new_loop, "debug"): new_loop.debug = debug if hooks and hasattr(new_loop, "hooks"): new_loop.hooks = hooks if queue and hasattr(new_loop, "queue"): new_loop.queue = queue if queue and hasattr(new_loop, "timer"): new_loop.timer = timer if running and hasattr(new_loop, "running"): new_loop.running = running if start and hasattr(new_loop, "start"): new_loop.start = start if stop and hasattr(new_loop, "stop"): new_loop.stop = stop if event_handler and hasattr(new_loop, "handle_event"): new_loop.handle_event = event_handler if sequence and hasattr(new_loop, "sequence"): new_loop.sequence = sequence return new_loop

Top » Module code » glxeveloop.loop.builder

© 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.