hashbrown

UseUiDecisionCandidatesResult

The result of useUiDecision in candidates mode.

decision
UseDecisionResult<DecidableSchema>

The underlying selection decision.

error
Error | undefined

The decision's last failure.

ids
string[]

The chosen candidate ids in order. Empty until decided, or when the decision falls below minConfidence.

isLoading
boolean

Whether the decision is in flight.

ui
ReactElement<any>[]

The chosen elements in order, keyed by candidate id.