Skip to content

Interactor

Spicy — senior dev territoryArchitecture

ELI5 — The Vibe Check

An interactor is just another name for a use case — it's the code that 'interacts' with your domain to accomplish one specific task. Some people call them use cases, some call them interactors, some call them application services. Same thing, different LinkedIn profile.

Real Talk

In Clean Architecture terminology, an interactor is an object that encapsulates a single application use case, containing the application-specific business rules. The interactor receives input from the controller (via an input boundary), orchestrates domain objects, and delivers output through an output boundary/presenter.

When You'll Hear This

"The interactor orchestrates the domain objects — the controller just passes in the request." / "Each interactor implements an input boundary interface, making it easy to test in isolation."

Made with passive-aggressive love by manoga.digital. Powered by Claude.