InteractorConfiguration
@MainActor
public struct InteractorConfiguration<InteractorType, Interactor> : InteractorConfiguring where InteractorType : InteractorTypeable, Interactor : AbstractInteractable
This model is used to configure a specific action an Interactor should take.
-
Undocumented
Declaration
Swift
public typealias ActionType = Interactor.Request.ActionType -
Declaration
Swift
@MainActor public let interactorType: InteractorType? -
Declaration
Swift
@MainActor public let actionType: (any InteractorRequestActionTypeable)? -
Declaration
Swift
@MainActor public let assistantType: InteractorAssistantType? -
Declaration
Swift
@MainActor public let configurationType: ActionConfigurationType -
The initializer.
Declaration
Swift
@MainActor public init(interactorType: InteractorType, actionType: ActionType, assistantType: InteractorAssistantType)Parameters
interactorTypeThe type of interactor.
actionTypeThe type of interactor request action.
-
Declaration
Swift
@MainActor public func assignInteractorAssistant(to assignable: any AssistantAssigning, eventType: any Hashable)
View on GitHub