actionWithEvent

fun actionWithEvent(body: (S, S, P) -> E??)