()
| 135 | }) |
| 136 | } |
| 137 | private commit(): void { |
| 138 | if (this.cut !== undefined || this.rec.inst.closed) return |
| 139 | if (this.ctx === undefined) return this.start() |
| 140 | const latest = this.mount |
| 141 | if (latest["~sameArgs"](this.published)) return |
| 142 | this.published = latest.args |
| 143 | if (this.args !== undefined) { |
| 144 | inlined(() => latest["~args"].publish(this.args!, latest.args)) |
| 145 | } |
| 146 | } |
| 147 | update(mount: Mount.Any): void { |
| 148 | if (this.mount === mount) return |
| 149 | this.mount = mount |