User-facing states for the TraitsExecutor.
- traits_futures.executor_states.ExecutorState = Enum(RUNNING, STOPPING, STOPPED)¶
Trait type representing the executor state.
- traits_futures.executor_states.RUNNING = 'running'¶
Executor is currently running (this is the initial state).
- traits_futures.executor_states.STOPPED = 'stopped'¶
Executor is stopped.
- traits_futures.executor_states.STOPPING = 'stopping'¶
Executor has been requested to stop. In this state, no new jobs can be submitted, and we’re waiting for old ones to complete.