onAll

public final Unit onAll(Boolean isOverride, Function1<INTERACTION, Unit> interceptor)

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

This interceptor is prioritized and is being invoked first for both operations.

Parameters

isOverride

if true - breaks the call chain, false otherwise

interceptor

lambda with intercepting logic