(
{ effect, job }: ComponentInternalInstance,
allowed: boolean,
)
| 2486 | } |
| 2487 | |
| 2488 | function toggleRecurse( |
| 2489 | { effect, job }: ComponentInternalInstance, |
| 2490 | allowed: boolean, |
| 2491 | ) { |
| 2492 | if (allowed) { |
| 2493 | effect.flags |= EffectFlags.ALLOW_RECURSE |
| 2494 | job.flags! |= SchedulerJobFlags.ALLOW_RECURSE |
| 2495 | } else { |
| 2496 | effect.flags &= ~EffectFlags.ALLOW_RECURSE |
| 2497 | job.flags! &= ~SchedulerJobFlags.ALLOW_RECURSE |
| 2498 | } |
| 2499 | } |
| 2500 | |
| 2501 | export function needTransition( |
| 2502 | parentSuspense: SuspenseBoundary | null, |
no outgoing calls
no test coverage detected