LocalStateEffectImpl#
- class penzai.data_effects.local_state.LocalStateEffectImpl[source]#
Bases:
Generic[_T],EffectRuntimeImplImplementation of the local state effect.
- Variables:
_state (_T) – Mutable (!) state tracked by the implementation.
_handler_id (effect_base.HandlerId) – ID of the handler that is managing this state.
Methods
__init__(_state, _handler_id)effect_protocol()get()handler_id()set(value)Inherited Methods
(expand to view inherited methods)
treescope_color()