2022-04-10 12:37:19 +00:00
|
|
|
""" A worker consumes tasks """
|
2022-04-08 17:34:38 +00:00
|
|
|
def generate():
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
def compile():
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
def activate_corr():
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
def join_pdf():
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
def clean():
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2022-04-10 12:37:19 +00:00
|
|
|
WORKERS = {
|
2022-04-08 17:34:38 +00:00
|
|
|
"GENERATE": generate,
|
|
|
|
"COMPILE": compile,
|
|
|
|
"ACTIVATE_CORR": activate_corr,
|
|
|
|
"JOIN_PDF": join_pdf,
|
2022-04-10 12:37:19 +00:00
|
|
|
"CLEAN": clean,
|
2022-04-08 17:34:38 +00:00
|
|
|
}
|