A class decorator for changing a class instance based on a state value.
This decorator can be useful for applications with lots of feature flags. Using the @state decorator allows you
to define POMs whose definitions react to changed based on whether a flag is on or off.
A class decorator for changing a class instance based on a state value. This decorator can be useful for applications with lots of feature flags. Using the
@state
decorator allows you to define POMs whose definitions react to changed based on whether a flag is on or off.