Package com.vaadin.flow.signals.function
Interface EffectAction
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents an action to be executed as a signal effect. The action is run
when the effect is created and subsequently run again whenever any signal
dependency changes.
Signal effects automatically track dependencies on all signals that are read during the action execution. When any of those signals change, the action is re-run with updated dependencies.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the effect action, automatically tracking signal dependencies.
-
Method Details
-
execute
void execute()Executes the effect action, automatically tracking signal dependencies.
-