()
| 215 | } |
| 216 | |
| 217 | #is_deferred() { |
| 218 | if (this.is_fork) return true; |
| 219 | |
| 220 | for (const effect of this.#blocking_pending.keys()) { |
| 221 | var e = effect; |
| 222 | var skipped = false; |
| 223 | |
| 224 | while (e.parent !== null) { |
| 225 | if (this.#skipped_branches.has(e)) { |
| 226 | skipped = true; |
| 227 | break; |
| 228 | } |
| 229 | |
| 230 | e = e.parent; |
| 231 | } |
| 232 | |
| 233 | if (!skipped) { |
| 234 | return true; |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | return false; |
| 239 | } |
| 240 | |
| 241 | /** |
| 242 | * Add an effect to the #skipped_branches map and reset its children |