Skip to content

Commit

Permalink
fix async iterator example
Browse files Browse the repository at this point in the history
  • Loading branch information
janpaepke committed Sep 26, 2024
1 parent 412104f commit fe0f331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ The `page` methods do not fit every use case. If you find yourself retrieving mu

```javascript
// Iterate over all payments.
for await (let payment in mollieClient.payments.iterate()) {
for await (const payment of mollieClient.payments.iterate()) {
// (Use break to end the loop prematurely.)
}
```
Expand Down

0 comments on commit fe0f331

Please sign in to comment.