()
| 87 | |
| 88 | /* @internal */ |
| 89 | _updated() { |
| 90 | this._updatePending = false; |
| 91 | const resolve = this._resolveUpdate; |
| 92 | // Create a new updateComplete Promise for the next update, |
| 93 | // before resolving the current one. |
| 94 | this._updateCompletePromise = new Promise((res, _rej) => { |
| 95 | this._resolveUpdate = res; |
| 96 | }); |
| 97 | this._controllers.forEach((c) => c.hostUpdated?.()); |
| 98 | resolve(this._updatePending); |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | /** |
no test coverage detected