()
| 115 | let isPending = false; |
| 116 | |
| 117 | function queuePending() { |
| 118 | if (isPending) return; |
| 119 | isPending = true; |
| 120 | setImmediate(() => { |
| 121 | isPending = false; |
| 122 | const pendings = ArrayFrom(kPending.values()); |
| 123 | kPending.clear(); |
| 124 | for (const pending of pendings) |
| 125 | pending[kDispatch](); |
| 126 | }); |
| 127 | } |
| 128 | |
| 129 | function getObserverType(type) { |
| 130 | switch (type) { |
no test coverage detected