Initializer
init(interactor:)
Creates a router around the given interactor.
@MainActor init(interactor: InteractorType)
Parameters
- interactor
The router’s interactor. Must conform to Interactable; the initializer traps if it does not.
Discussion
Precondition
interactor conforms to Interactable.