destroyState

open suspend override fun destroyState(state: TState)(source)

Destroys the validation state.

Called by the form manager whenever a state is no longer needed (i.e. when a newer state has been produced or when the value being validated has been destroyed).