Instance Method
attachChild(_:)
Attaches a child router.
@MainActor final func attachChild(_ child: any Routing) async
Parameters
- child
The router to attach.
Discussion
The child’s Interactable is activated before the child is loaded, matching the order the parent router would have used to set up its own interactor. The child must not already be attached.
Precondition
child is not already in children.