Optional initialValue: ValueOptional errorOptional resolvedWill re-invoke the function passed to trackedFunction
this will also re-set some properties on the State instance.
This is the same State instance as before, as the State instance
is tied to the fn passed to trackedFunction
error or resolvedValue will remain as they were previously
until this promise resolves, and then they'll be updated to the new values.
Generated using TypeDoc
State container that represents the asynchrony of a
trackedFunction