hashbrown

UseDecisionResult

The result of {@link useDecision}.

UseDecisionResult
@typeS
DecidableSchema
error
Error | undefined

The last failure, cleared when a new request starts.

isLoading
boolean

Whether a request is in flight.

meta
Decision.Meta<S> | null

Metadata mirroring the value, or null.

reload
() => boolean

Resends the last non-null input; returns false when there is none.

stop
() => void

Aborts the in-flight request, keeping the last value.

value
s.Infer<S> | null

The last decoded value, or null.