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.properties.queue

Source code for glxeveloop.properties.queue

from queue import Queue


[docs] class QueueProperty: def __init__(self) -> None: self.__queue = Queue() @property def queue(self): return self.__queue @queue.setter def queue(self, value): if value is None: value = Queue() if not isinstance(value, Queue): raise TypeError("'queue' property value must be a Queue instance or None") if value != self.queue: self.__queue = value

Top » Module code » glxeveloop.properties.queue

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