Conditions | 5 |
Paths | 4 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
101 | private function execute() : void |
||
102 | { |
||
103 | for (;;) { |
||
104 | if ($this->closing || $this->running >= $this->chan->cap()) { |
||
105 | return; |
||
106 | } |
||
107 | |||
108 | $this->running ++; |
||
109 | |||
110 | ($recv = $this->chan->recv())->then($this->processor, $this->close); |
||
111 | |||
112 | if ($recv->pended()) { |
||
113 | break; |
||
114 | } |
||
118 |