worker thread logic moved into worker module.

Socket intenum moved into util
This commit is contained in:
onyx-and-iris
2022-08-08 13:43:19 +01:00
parent 3ecb3a0f68
commit cb9afc62d1
4 changed files with 138 additions and 107 deletions

View File

@@ -1,3 +1,4 @@
from enum import IntEnum
from typing import Iterator
@@ -64,3 +65,6 @@ def comp(t0: tuple, t1: tuple) -> Iterator[bool]:
if b <= 9500:
yield a == b
yield True
Socket = IntEnum("Socket", "register request response", start=0)