ProxySideEffectBuilder

Mitigator of the strict assignment policy for multiple SideEffects

Author

Matthias Geisler

Parameters

ReturnValue

the return value type of the hosting Proxy.

SideEffect

the function signature of the hosting Proxy.

Functions

Link copied to clipboard
abstract infix fun run(action: SideEffect)

Alias method for sideEffect

Link copied to clipboard

Convenient method for multiple SideEffects, which uses under the sideEffects property. This chains SideEffects together according to their given order.

Properties

Link copied to clipboard
abstract var sideEffect: SideEffect

Setter/Getter in order to set/get a custom SideEffect for the function. SideEffects can be used for fine grained behaviour of a Proxy on invocation.

Link copied to clipboard

SideEffectChainBuilder to chain multiple SideEffects.

Inheritors

Link copied to clipboard