<?php max(mixed $value, mixed ...$values): mixed
<?php $margin = 1000; $timeoutDelayInMs = max(1000, $context->getRemainingTimeInMillis() - $margin); try { $socketId = $this->client->sendAsyncRequest($this->connection, $request);