Home
last modified time | relevance | path

Searched refs:decider (Results 1 – 2 of 2) sorted by relevance

/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/
H A DRetryMiddleware.php20 private $decider; variable in GuzzleHttp\\RetryMiddleware
26 * @param callable $decider Function that accepts the number of retries,
36 callable $decider, argument
40 $this->decider = $decider;
86 $this->decider,
107 $this->decider,
H A DMiddleware.php160 * @param callable $decider Function that accepts the number of retries,
168 public static function retry(callable $decider, callable $delay = null) argument
170 return function (callable $handler) use ($decider, $delay) {
171 return new RetryMiddleware($decider, $handler, $delay);