变更
This commit is contained in:
@@ -243,6 +243,19 @@ class Pool extends Component
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $name
|
||||
* @param int $time
|
||||
* @return array
|
||||
* @throws ConfigException
|
||||
*/
|
||||
public function waite($name, int $time = 30): mixed
|
||||
{
|
||||
return $this->channel($name)->pop($time);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @param string $name
|
||||
* @throws Exception
|
||||
|
||||
Reference in New Issue
Block a user