(nodeUid: ID)
| 61 | } |
| 62 | |
| 63 | async *load(nodeUid: ID) { |
| 64 | this.itemsToFetch.push(nodeUid); |
| 65 | |
| 66 | if (this.itemsToFetch.length >= this.batchSize) { |
| 67 | yield* this.iterateItemsWithErrorHandling(this.itemsToFetch); |
| 68 | this.itemsToFetch = []; |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | async *loadRest() { |
| 73 | if (this.itemsToFetch.length > 0) { |
no test coverage detected