Functional interface for handling logic on a given context.
the type of the context
Method to execute the handling logic.