Carlos Muñoz
11/13/2019, 1:21 PMSideEffectEventReceiver
.
Especially helpful IMHO if you have your side effect handler broken down in methods.
Something like:
private val <STATE : Any, EVENT : Any, SIDE_EFFECT : Any> SideEffectEventReceiver<STATE, EVENT, SIDE_EFFECT>.postFunction: (SIDE_EFFECT) -> Unit
get() = { sideEffect: SIDE_EFFECT -> <http://this.post|this.post>(sideEffect) }