Clue\React\Redis\StreamingClient::isBusy PHP Method

isBusy() public method

public isBusy ( )
    public function isBusy()
    {
        return !!$this->requests;
    }

Usage Example

Ejemplo n.º 1
0
 protected function waitFor(StreamingClient $client)
 {
     $this->assertTrue($client->isBusy());
     while ($client->isBusy()) {
         $this->loop->tick();
     }
 }