We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2ad9d9 commit 01684afCopy full SHA for 01684af
README.md
@@ -194,8 +194,10 @@ catch (TooManyRequestsException $e) {
194
// Get the number of seconds remaining (float)
195
$secondsRemaining = $e->getSecondsRemaining();
196
197
- //
+ // Get the timestamp for when we can make our next request
198
$timestamp = $e->getRetryTime();
199
+
200
+ // Sleep until the rate limiting has ended
201
$e->wait();
202
}
203
```
0 commit comments