LiteyukiBot-TriM/liteyuki/core/__init__.py
2024-08-12 11:44:30 +08:00

12 lines
193 B
Python

import multiprocessing
from .spawn_process import *
from .manager import *
__all__ = [
"IS_MAIN_PROCESS"
]
IS_MAIN_PROCESS = multiprocessing.current_process().name == "MainProcess"