RelaxationFunConfigurator

Configures non intrusive Behaviour for FunProxies.

Author

Matthias Geisler

See also

Parameters

ReturnValue

the return value type of the hosting Proxy.

SideEffect

the function signature of the hosting Proxy.

Functions

Link copied to clipboard
abstract fun useRelaxerIf(condition: Boolean, relaxer: (String) -> ReturnValue)

Binds a given Relaxer function to a Proxy if the condition is true. This will wipe a given relaxer.

Link copied to clipboard
abstract fun useUnitFunRelaxerIf(condition: Boolean)

Binds the internal UnitFunRelaxer to the Proxy, if the given condition is true. It wipes a given relaxer.

Inheritors

Link copied to clipboard