(fiber: Fiber)
| 683 | } |
| 684 | |
| 685 | export function transferActualDuration(fiber: Fiber): void { |
| 686 | // Transfer time spent rendering these children so we don't lose it |
| 687 | // after we rerender. This is used as a helper in special cases |
| 688 | // where we should count the work of multiple passes. |
| 689 | let child = fiber.child; |
| 690 | while (child) { |
| 691 | // $FlowFixMe[unsafe-addition] addition with possible null/undefined value |
| 692 | fiber.actualDuration += child.actualDuration; |
| 693 | child = child.sibling; |
| 694 | } |
| 695 | } |
| 696 | |
| 697 | export function startAnimating(lanes: Lanes): void { |
| 698 | animatingLanes |= lanes; |
no outgoing calls
no test coverage detected