(item: QueueItem<RemoteDataType>)
| 87 | .catch((error: unknown) => { |
| 88 | this.recordFailure(item, error); |
| 89 | }); |
| 90 | this.ongoingItems.add(promise); |
| 91 | this.updateQueuedCount(); |
| 92 | void promise.finally(() => { |
| 93 | this.ongoingItems.delete(promise); |
| 94 | this.updateQueuedCount(); |
| 95 | }); |