Interface Effect
@PublicSpi
public interface Effect
A piece of runnable code generated by an
effect
provider from an effect description.-
Method Summary
-
Method Details
-
apply
Performs the actual changes in the state of the world. Returns aneffect desriptionthat undoes those changes.- Throws:
StructureException- if it is impossible to apply the effect despite all prior checks made by theEffectProvider. Usually means that the state of the world has changed unexpectedly since those checks were made.
-