class RetryMiddleware (View source)

Middleware that adds retry functionality.

Methods

__construct(callable $nextHandler, RetrySettings $retrySettings, $deadlineMs = null)

No description

PromiseInterface
__invoke(Call $call, array $options)

No description

getCurrentTimeMs()

No description

Details

__construct(callable $nextHandler, RetrySettings $retrySettings, $deadlineMs = null)

No description

Parameters

callable $nextHandler
RetrySettings $retrySettings
$deadlineMs

PromiseInterface __invoke(Call $call, array $options)

No description

Parameters

Call $call
array $options

Return Value

PromiseInterface

protected getCurrentTimeMs()

No description