onPerform

public final Unit onPerform(Boolean isOverride, Function2<INTERACTION, ACTION, Unit> interceptor)

Sets the interceptor for the perform operation for a given interaction. If overridden, breaks the call chain of operation and transfers the responsibility to invoke the Espresso on the developer.

Parameters

isOverride

if true - breaks the call chain, false otherwise

interceptor

lambda with intercepting logic