updateAndRun

inline fun EffectHandler.updateAndRun(context: EffectContext, newEffects: List<Effect>?, onUpdate: () -> Unit)