Worker::isShutdownState Detection Description
public bool Worker::isShutdown()
Whether the worker has been shutdown or not. ParametersThis function has no parameters. Return ValuesReturns whether the worker has been shutdown or not. Examples
Example #1 Detect the state of a worker
The above example will output: bool(false) bool(true) |