public function isEmpty(): bool
    {
        return $this->pollManager->isEmpty()
            && $this->awaitManager->isEmpty()
            && $this->timerManager->isEmpty()
            && $this->callableQueue->isEmpty()
            && $this->immediateManager->isEmpty()
            && (null === $this->signalManager || $this->signalManager->isEmpty());
    }
public function isEmpty(): bool
    {
        return $this->pollManager->isEmpty()
            && $this->awaitManager->isEmpty()
            && $this->timerManager->isEmpty()
            && $this->callableQueue->isEmpty()
            && $this->immediateManager->isEmpty()
            && (null === $this->signalManager || $this->signalManager->isEmpty());
    }
public function isEmpty ( ) : bool { return $ this -> pollManager -> isEmpty ( ) && $ this -> awaitManager -> isEmpty ( ) && $ this -> timerManager -> isEmpty ( ) && $ this -> callableQueue -> isEmpty ( ) && $ this -> immediateManager -> isEmpty ( ) && ( null === $ this -> signalManager || $ this -> signalManager -> isEmpty ( ) ) ; }
Determines if there are any pending tasks in the loop.

@return bool
Determines if there are any pending tasks in the loop .