This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Simple example how to make use of asyncio in OBS Python scripts.""" | |
from typing import Optional | |
import threading | |
import asyncio | |
_LOOP: Optional[asyncio.AbstractEventLoop] = None | |
_THREAD: Optional[threading.Thread] = None |