A function that will update the value of an atom. It receives the atom's
current value as its argument and is expected to return the atom's next value
as the return value.
Type parameters
T
The type of the atom's value.
Hierarchy
AtomUpdateFunction
Callable
AtomUpdateFunction(arg: T): T
A function that will update the value of an atom. It receives the atom's
current value as its argument and is expected to return the atom's next value
as the return value.
A function that will update the value of an atom. It receives the atom's current value as its argument and is expected to return the atom's next value as the return value.