Lines Matching refs:timeout
24 * @param float $timeout timeout in seconds
27 function setTimeout(callable $cb, $timeout) { argument
29 $triggerTime = microtime(true) + ($timeout);
68 * @param float $timeout
71 function setInterval(callable $cb, $timeout) { argument
76 $f = function() use ($cb, &$f, $timeout, &$keepGoing) {
79 $this->setTimeout($f, $timeout);
82 $this->setTimeout($f, $timeout);
306 * @param float $timeout
308 protected function runStreams($timeout) { argument
315 if (stream_select($read, $write, $except, null, $timeout)) {
331 usleep($timeout !== null ? $timeout * 1000000 : 200000);