class documentation

class PState(IntEnum):

View In Hierarchy

The internal states of a script.

Method isEndscriptState Check whether the end of a script has been reached.
Method isRunningState Check whether the script is running.
Class Variable canceled Running of the script is canceled externally.
Class Variable created Script has been created.
Class Variable ready Script is read to run.
Class Variable returning script is returning from a call.
Class Variable running Script is running.
Class Variable terminated Script terminated normally.
Class Variable terminatedWithError Script terminated with an error.
Class Variable terminatedWithResult Script terminated normally with a result.
def isEndscriptState(self) -> bool:

Check whether the end of a script has been reached.

Returns
boolTrue if one of the termination states is set.
def isRunningState(self) -> bool:

Check whether the script is running.

Returns
boolTrue if the script is running.
canceled =

Running of the script is canceled externally.

created =

Script has been created.

ready =

Script is read to run.

returning =

script is returning from a call.

running =

Script is running.

terminated =

Script terminated normally.

terminatedWithError =

Script terminated with an error.

terminatedWithResult =

Script terminated normally with a result.