Добавлена работа с email

This commit is contained in:
2021-07-14 13:35:34 +03:00
parent af5478994c
commit 729012ecca
7 changed files with 76 additions and 5 deletions

9
dyxless/decorators.py Normal file
View File

@@ -0,0 +1,9 @@
from threading import Thread
def async_work(f):
def wrapper(*args, **kwargs):
thr = Thread(target=f, args=args, kwargs=kwargs)
thr.start()
return wrapper