InteractorConfiguring
@MainActor
public protocol InteractorConfiguring<InteractorType>
This protocol represents a configuration for a specific action an Interactor should take.
-
An enum which represents types of Interactors. Each Destination may have its own Interactor types.
Declaration
Swift
associatedtype InteractorType : InteractorTypeable
-
A class type of the Interactor to be configured.
Declaration
Swift
associatedtype Interactor : AbstractInteractable
-
An enum which defines types of actions for a particular Interactor.
Declaration
Swift
associatedtype ActionType : InteractorRequestActionTypeable
-
An enum type representing the kind of interactor to be configured.
Declaration
Swift
@MainActor var interactorType: InteractorType { get }
-
An enum type representing the type of interactor request action.
Declaration
Swift
@MainActor var actionType: ActionType { get }
-
The type of interactor assistant associated with the interactor to be configured.
Declaration
Swift
@MainActor var assistantType: InteractorAssistantType { get }
-
Assigns an interactor assistant to a Destination.
Declaration
Swift
@MainActor func assignInteractorAssistant<Destination>(destination: Destination, interactionType: Destination.UserInteractionType) where Destination : Destinationable, Self.InteractorType == Destination.InteractorType
Parameters
destination
The Destination to apply this interactor assistant to.
interactionType
The user interaction type to associate this assistant with.