The result of {@link useDecision}.
API
interface UseDecisionResult<S extends DecidableSchema> {error: Error | undefined;isLoading: boolean;meta: Decision.Meta <S> | null;reload: () => boolean;stop: () => void;value: s.Infer <S> | null;}UseDecisionResult
@typeSDecidableSchemaerror
Error | undefinedThe last failure, cleared when a new request starts.
isLoading
booleanWhether a request is in flight.
meta
Decision.Meta<S> | nullMetadata mirroring the value, or null.
reload
() => booleanResends the last non-null input; returns false when there is none.
stop
() => voidAborts the in-flight request, keeping the last value.
value
s.Infer<S> | nullThe last decoded value, or null.