Icicle\Concurrent\Worker\Worker::isIdle PHP Method

isIdle() public method

Checks if the worker is currently idle.
public isIdle ( ) : boolean
return boolean
    public function isIdle() : bool;

Usage Example

Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function isIdle() : bool
 {
     return $this->worker->isIdle();
 }