This commit is contained in:
2025-10-02 19:22:48 +01:00
parent b59e1dab99
commit 209c690413
2179 changed files with 340188 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
import queue
import threading
import time
from engineio.async_drivers._websocket_wsgi import SimpleWebSocketWSGI
class DaemonThread(threading.Thread): # pragma: no cover
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs, daemon=True)
_async = {
'thread': DaemonThread,
'queue': queue.Queue,
'queue_empty': queue.Empty,
'event': threading.Event,
'websocket': SimpleWebSocketWSGI,
'sleep': time.sleep,
}