One poll: fire an off-thread passive checkpoint when growth passes the soft threshold.
()
| 162 | |
| 163 | /** One poll: fire an off-thread passive checkpoint when growth passes the soft threshold. */ |
| 164 | check(): void { |
| 165 | if (!this.pause && !this.inflight && this.growthBytes() > this.softBytes) this.fire(); |
| 166 | } |
| 167 | |
| 168 | /** |
| 169 | * Writer-side backstop, called at a between-transactions boundary. Returns |
no test coverage detected