venv added, updated

This commit is contained in:
Norbert
2024-09-13 09:46:28 +02:00
parent 577596d9f3
commit 82af8c809a
4812 changed files with 640223 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
from threading import RLock
from reactivex.abc import DisposableBase
class BooleanDisposable(DisposableBase):
"""Represents a Disposable that can be checked for status."""
def __init__(self) -> None:
"""Initializes a new instance of the BooleanDisposable class."""
self.is_disposed = False
self.lock = RLock()
super().__init__()
def dispose(self) -> None:
"""Sets the status to disposed"""
self.is_disposed = True