We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cdd778 commit 63c8ea1Copy full SHA for 63c8ea1
src/Pool.php
@@ -202,11 +202,21 @@ public function hasQueue(): bool
202
return !empty($this->queue);
203
}
204
205
+ public function getQueueLength(): int
206
+ {
207
+ return count($this->queue);
208
+ }
209
+
210
public function hasChilds(): bool
211
{
212
return !empty($this->childs);
213
214
215
+ public function getChildsCount(): int
216
217
+ return count($this->childs);
218
219
220
public function waitQueue(): void
221
222
while($this->hasQueue()){
0 commit comments