* Add an effect to the pending set. * Schedules a microtask to run them if one isn't already scheduled. * @param {Effect} effect
(effect)
| 3204 | * @param {Effect} effect |
| 3205 | */ |
| 3206 | _scheduleEffect(effect) { |
| 3207 | if (effect._isStopped) return; |
| 3208 | this._pendingEffects.add(effect); |
| 3209 | if (!this._isRunScheduled) { |
| 3210 | this._isRunScheduled = true; |
| 3211 | var self2 = this; |
| 3212 | queueMicrotask(function() { |
| 3213 | self2._runPendingEffects(); |
| 3214 | }); |
| 3215 | } |
| 3216 | } |
| 3217 | /** |
| 3218 | * Set up the single global MutationObserver and delegated input/change |
| 3219 | * listeners that power attribute, property, and query tracking. |
no test coverage detected