()
| 125 | const nextStep = counter++; |
| 126 | |
| 127 | const nextPage = () => { |
| 128 | return this.request<Page<T>>(`${key}-${nextStep}`, { |
| 129 | route: page.next!, |
| 130 | options: { method: "GET" }, |
| 131 | }); |
| 132 | }; |
| 133 | |
| 134 | yield* this.paginate(nextPage, key, nextStep); |
| 135 | } |