after

fun after(include: Set<Class<*>> = emptySet(), exclude: Set<Class<*>> = emptySet(), produces: Set<Class<*>>? = null, after: DecideScope.(S, Any) -> List<Any>)

An after hook for every command that is one of include and none of exclude: its events follow the command's own in the same stream. An empty include is every command of the model's own decide functions, not the system commands the kernel decides (lifecycle and wow.schedule): a hook runs after one of those only when include names it. With produces, the events it may return, any other fails the command (AfterFunction.produces).