改名
This commit is contained in:
@@ -127,7 +127,7 @@ abstract class Pool extends Component
|
|||||||
public function createConnect(array $config, string $coroutineName, callable $createHandler): PDO|Redis|false
|
public function createConnect(array $config, string $coroutineName, callable $createHandler): PDO|Redis|false
|
||||||
{
|
{
|
||||||
if (Context::hasContext('create:connect:' . $coroutineName)) {
|
if (Context::hasContext('create:connect:' . $coroutineName)) {
|
||||||
while (!($client = Context::getContext($coroutineName))){
|
while (($client = Context::getContext($coroutineName)) != null){
|
||||||
var_dump($client);
|
var_dump($client);
|
||||||
}
|
}
|
||||||
var_dump($client);
|
var_dump($client);
|
||||||
|
|||||||
Reference in New Issue
Block a user