Implemented draft of new background task system

This commit is contained in:
jtc42 2019-11-01 16:06:49 +00:00
parent 7c121cd142
commit e4a78046d7
11 changed files with 370 additions and 159 deletions

View file

@ -10,6 +10,9 @@ from openflexure_microscope.plugins import MicroscopePlugin
from openflexure_microscope.api.v1.views import MicroscopeViewPlugin
from openflexure_microscope.api.utilities import JsonResponse
# Task management
from openflexure_microscope.common.tasks import current_task, update_task_progress, update_task_data, taskify
# Exceptions
from openflexure_microscope.exceptions import TaskDeniedException