Interactors
An interactor is a software component that encapsulates the execution of a specific use case, implementing the application's business rules and coordinating the flow of data between the user interface, data stores, and domain entities. In many modern architectures, including Clean Architecture and VIPER, the interactor is the implementation of a use case and sits between the UI layer and the data/domain layers.
Typically, an interactor receives input from the presentation layer through a request or input boundary, validates
Interactors are often designed to be stateless with respect to a single use-case invocation, though some use
Terminology varies by framework. The term "use-case interactor" or "application service" is common, and in VIPER