()
| 259 | } |
| 260 | |
| 261 | stats(): UiLogStats { |
| 262 | return { |
| 263 | queued: this.queue.length, |
| 264 | sent: this.sent, |
| 265 | dropped: this.dropped, |
| 266 | failedPosts: this.failedPosts, |
| 267 | }; |
| 268 | } |
| 269 | |
| 270 | /** |
| 271 | * Send what is queued, one batch now and the rest on the timer. With |