updated-packages

This commit is contained in:
RafficMohammed
2023-01-08 00:13:22 +05:30
parent 3ff7df7487
commit da241bacb6
12659 changed files with 563377 additions and 510538 deletions

View File

@@ -2,7 +2,7 @@
namespace Aws;
use Aws\Exception\AwsException;
use GuzzleHttp\Promise;
use GuzzleHttp\Promise\Coroutine;
use GuzzleHttp\Promise\PromisorInterface;
use GuzzleHttp\Promise\RejectedPromise;
@@ -86,9 +86,12 @@ class Waiter implements PromisorInterface
}
}
/**
* @return Coroutine
*/
public function promise()
{
return Promise\coroutine(function () {
return Coroutine::of(function () {
$name = $this->config['operation'];
for ($state = 'retry', $attempt = 1; $state === 'retry'; $attempt++) {
// Execute the operation.