GitHub

InitialValue

API reference for InitialValue.

A value a registry starts atom with (atom.initial_value). With skip_initial_run, an atom backed by an effect keeps it without running the effect until it is refreshed.

Attributes

AttributeTypeDescription
atomAtom[A_co]
valueA_co
skip_initial_runbool = False

Functions

__init__

__init__(atom, value, skip_initial_run=False) -> None
ParameterTypeDescription
atomAtom[A_co]
valueA_co
skip_initial_runbool = False