Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Find highest value
max(mixed $valuemixed ...$values): mixed
        $margin 1000;

        
$timeoutDelayInMs max(1000$context->getRemainingTimeInMillis() - $margin);



        try {

            
$socketId $this->client->sendAsyncRequest($this->connection$request);