The task is quite complex and is based on pick to light idea. The scans a barcode and starts a task. I then need to check various states of remote/devices, read database and etc.. The started task is monitoring whether it has received any response from the remote devices, if so, continue with the task, if not, keep checking for input.. There are more things happening at the same time but either way, I must be able to cancel the current task completely and start over again. Normally, that would not happen since user would complete a task but in case of some error or something else unexpected happening, user can just restart a task , scan a new barcode and continue doing his thing.
From what I read about muliprocessing, I am not sure whether its best option here since I am not sure if I can close or cancel the process unless its finished?
From what I read about muliprocessing, I am not sure whether its best option here since I am not sure if I can close or cancel the process unless its finished?