This gives the agents the ability to start the queue, only if the queue has exactly 1 item, the environment is open, and the manager isn't already doing something.
@dmgav Are these sufficient conditions to make sure I'm not starting an already running queue, nor starting in a closed environment? Just want to preempt an agent crashing due to an anticipatable Exception here.
The conditions seem to be sufficient. I think that in production version all exceptions including communication timeout exceptions should be properly processed, but this may work fine for this experiment.
This gives the agents the ability to start the queue, only if the queue has exactly 1 item, the environment is open, and the manager isn't already doing something.
@dmgav Are these sufficient conditions to make sure I'm not starting an already running queue, nor starting in a closed environment? Just want to preempt an agent crashing due to an anticipatable Exception here.