% SessionState Enumeration of valid states for a parallel.Pool session.

% Copyright 2020 The MathWorks, Inc.
classdef SessionState
    properties
        IsActive (1,1) logical
    end
    methods
        function obj = SessionState(val)
            obj.IsActive = val;
        end
    end
    enumeration
        ABOUT_TO_START(true)
        STARTING(true)
        FAILED_TO_START(false)
        BUSY(true)
        IDLE(true)
        CLOSED(false)
    end
end
